home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 095 / rbbs_doc.arc / APPENDIX.DOC next >
Text File  |  1987-06-07  |  115KB  |  2,926 lines

  1. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2.  
  3. APPENDIX A -- RBBS-PC Record Formats
  4. ------------------------------------
  5. This  appendix  is intended to document the record formats of some  of  the  
  6. more  significant records used within RBBS-PC.    As such,  it is  intended 
  7. more   as   a  "programmers'  guide" for those who wish to  write   RBBS-PC  
  8. utilities   rather  than  as  "user documentation."  No  record  format  is 
  9. "sacrosanct"   and  any  of them  may be  changed   in   future   releases.   
  10. However  such  changes  are  not  made  capriciously  and,   when  they are 
  11. made,   are  accompanied by  some  utility  program  that  will  allow  the 
  12. old files to be  reformatted  into  the  new  format.
  13.  
  14. The MESSAGES file contains the messages that have been left on RBBS-PC.  It  
  15. is  a random file with 128-byte records.   The first record of the MESSAGES 
  16. file  acts  as  RBBS-PC's "checkpoint"  record.   The  records  immediately 
  17. following  this first record are the RBBS-PC "node" records.   Each  "node" 
  18. record represents the activity/options associated with a particular copy of 
  19. RBBS-PC ("node").   There can be up to thirty-six copies of RBBS-PC running 
  20. simultaneously sharing the same set of static files.   Therefore there  can 
  21. be up to thirty-six "node" records following the "checkpoint" record.  
  22.  
  23. The MESSAGES file has the following logical format:
  24.  
  25.            +----------------------------------------------+
  26. Record #1  |  RBBS-PC "checkpoint" record                 |
  27.            +----------------------------------------------+
  28. Record #2  |  RBBS-PC "node" record for node # 1          |
  29.            |                                              |
  30.            |            up to                             |
  31.            |                                              |
  32.            |  RBBS-PC "node" record for node # 9          |
  33.            |  RBBS-PC "node" record for node # 0          |
  34.            |  RBBS-PC "node" record for node "A"          |
  35.            |                                              |
  36.            |            up to                             |
  37.            |  RBBS-PC "node" record for node "Z"          |
  38.            |                                              |
  39.            +----------------------------------------------+
  40.            |  First Record in Message portion of file     |
  41.            +----------------------------------------------+
  42.            |                                              |
  43.            \  Message records that have been used         \
  44.            \                                              \ 
  45.            |                                              |
  46.            +----------------------------------------------+
  47.            |  Record available for next message           |
  48.            +----------------------------------------------+
  49.            |  Last record available in MESSAGES file      |
  50.            +----------------------------------------------+
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                        Page 105 of 149
  66. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  67.  
  68. The  FIRST RECORD of the "MESSAGES" file acts as a "checkpoint" record  for 
  69. all  the  multiple  RBBS-PC's that may be sharing the  MESSAGES  and  USERS 
  70. files.  It contains information  critical  to  maintaining the integrity of 
  71. these two files.   The layout of RBBS-PC  Message  File  Record Number 1 is 
  72. as follows:
  73.  
  74. Position Length           Description
  75.  
  76.   1 -  8     8   Number of last message on system
  77.   9 - 10     2   --- RESERVED FOR FUTURE USE ----
  78.  11 - 20    10   Current caller number
  79.  21 - 51    31   --- RESERVED FOR FUTURE USE ----
  80.  52 - 56     5   Record Number of first record in the USERS file
  81.  57 - 61     5   Record Number of the next available record in the 
  82.                        USERS file
  83.  62 - 66     5   Record Number of the last record in the USERS file
  84.     67       1   Reserved for Node ID currently reserving the USERS file 
  85.  68 - 74     7   Record Number where "messages" portion of the 
  86.                        MESSAGES file begins
  87.  75 - 81     7   Record Number of the next available record in the 
  88.                        MESSAGES file where the next message may be written
  89.  82 - 88     7   Record Number of the last record in the MESSAGES file
  90.  89 - 95     7   Maximum number of messages allowed in the MESSAGES file
  91.  96 - 97     2   Reserved for Node ID currently reserving the MESSAGES file
  92.  98 -122    25   --- RESERVED FOR FUTURE USE ----
  93. 123 -126     4   Last message number read by the SYSOP
  94. 127 -128     2   Maximum number of RBBS-PC's sharing this MESSAGES file
  95.  
  96. As a programming reference,  line 23000 of the BASIC source code for  RBBS-
  97. PC.BAS contains the code for reading this "checkpoint" record.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                        Page 106 of 149
  131. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  132.  
  133. Following  the first record of the MESSAGES file are from one to 36  "node" 
  134. records.   Each  "node"  record  contains information   critical   to   the 
  135. running of that copy of RBBS-PC associated with that "node".  The layout of 
  136. each RBBS-PC  "node" record is as follows:
  137.  
  138. Position Length          Description
  139.  
  140.   1 - 31    31  Name of last person on this copy of RBBS-PC
  141.  32 - 33     2  Available indicator for SYSOP
  142.  34 - 35     2  Annoy indicator for SYSOP
  143.  36 - 37     2  Indicator that the SYSOP is next on the system
  144.  38 - 39     2  Line printer available indicator
  145.  40 - 41     2  Door's availability indicator
  146.  42 - 43     2  Eight bit transmission indicator
  147.  44 - 45     2  Baud rate. -1 = 300, -2 = 450, -3 = 1200, -4 = 2400 
  148.  46 - 47     2  Upper case indicator
  149.  48 - 52     5  ---- RESERVED FOR FUTURE USE ----
  150.  53 - 54     2  Graphics indicator
  151.  55 - 56     2  SYSOP indicator
  152.     57       1  Activity indicator (I=inactive, A=active)
  153.  58 - 59     2  SNOOP indicator
  154.  60 - 61     2  Baud rate caller dialed in at. 300, 1200, 2400
  155.  62 - 63    67  ---- RESERVED FOR FUTURE USE ----
  156.  64 - 69     6  Time logged on system
  157.  70 - 71     2  ---- RESERVED FOR FUTURE USE ----
  158.  72 - 73     2  Private Door
  159.  74 - 75     2  Transfer Function
  160.  76 - 85    10  Daily Exit Last Date
  161.  86 - 90     5  Daily Exit Last Time
  162.  91 - 92     2  Reliable Mode
  163.  93 - 128   36  ---- RESERVED FOR FUTURE USE ----
  164.  
  165. As a programming reference,  review lines 175, 842, 13549, 43070, AND 44000 
  166. of the  BASIC source code for RBBS-PC.BAS and RBBSSUB2.BAS to see how these 
  167. fields are set/used.
  168.  
  169. A message within the messages file consists of a MESSAGE HEADER followed by  
  170. the text of the message.   The RBBS-PC Message File "message header" record  
  171. layout is as follows:
  172.  
  173. Position Length        Description
  174.  
  175.     1        1  Contains an "*" for read-only messages, blank otherwise
  176.   2 -  5     4  Message number of this message
  177.   6 - 36    31  The name of the person the message is from
  178.  37 - 58    22  The name of the person to whom the message is sent
  179.  59 - 66     8  Time of day that the message was sent (HH:MM:SS)
  180.  67 - 67     1  ---- RESERVED FOR FUTURE USE ----
  181.  68 - 75     8  Date the message was sent (MM-DD-YY)
  182.  76 -100    25  Subject of the message
  183. 101 -115    15  Password for the message (if any)
  184. 116 -116     1  "Active" message indicator = hex 225
  185.                 "Killed" message indicator = hex 226
  186. 117 -120     4  Number of 128-byte records for this message --
  187.                     including the the "message header" record.
  188. 121 -122     2 ---- RESERVED FOR FUTURE USE ----
  189. 123 -125     3 Date (packed) the message was last read (MM/DD/YY)
  190. 126 -128     3 Time (packed) the message was last read (HH:MM:SS)
  191.  
  192. As a programming reference,  review lines 3405, 3460, 3530, and 8076 of the 
  193. BASIC source code for RBBS-PC.BAS to see how these fields are set.
  194.  
  195.                        Page 107 of 149
  196. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  197.  
  198. Each  record  following the MESSAGE HEADER record is a MESSAGE TEXT  record  
  199. and  consists  of 128 characters.   Each of these  128-byte  message  text"  
  200. records contains the message text.   The end of each line in the message is  
  201. followed   by   an  RBBS-PC  "end-of-line"  indicator which  is  equal   to  
  202. an  ASCII 227.   This allows RBBS-PC to "pack" multiple message lines in  a  
  203. single 128-byte record.
  204.  
  205. The   USERS  file contains information unique for each  RBBS-PC  user   who  
  206. logs on.   It is a random file with 128-byte records.  The layout  of  each 
  207. users record within the USERS file is as follows:
  208.  
  209. Position Length           Description
  210.   1 - 31    31  Users first and last name (separated by a blank).
  211.  32 - 46    15  Users password for logon.
  212.  47 - 48     2  Users security level (permanent).
  213.  49 - 62    14  Users logon options (see detail breakdown below).
  214.  63 - 86    24  City and state from which the user is calling.
  215.  87 -105    19  ---- RESERVED FOR FUTURE USE ----
  216. 106 -119    14  Date and time the user was last on (MM-DD-YY HH:MM).
  217. 120 -122     3  Date the user last listed a directory.
  218. 123 -124     2  Number of downloads done by the user.
  219. 125 -126     2  Number of uploads done by the user.
  220. 127 -128     2  Elapsed time the user was on for day of last access.
  221.  
  222. As  a programming reference,  line 9400 of the BASIC source code for  RBBS- 
  223. PC.BAS contains the code for opening this file.   The field used to  record 
  224. the users log on options is utilized as follows:
  225.  
  226. Position Length           Description
  227.  
  228.  49 - 50     2   Number of times the user has logged on
  229.  51 - 52     2   Last message number read by the user
  230.     53       1   Protocol Preference (X, A, M, C, I, Y, G, K, W, blank)
  231.     54       1   Graphics 0-text, 1-graphics, 2-color
  232.  55 - 56     2   Margin length for this users messages
  233.  57 - 58     2   Bit Flag -- this 16-bit field is denoted by bit 0
  234.                  being the least significant (i.e. right-most bit)
  235.                  and bit 15 being the most significant (i.e. left-
  236.                  most bit).  These "bit flags" have the following
  237.                  meanings (0=off, 1=on):
  238.  
  239.                        BIT    Definition (what ON means) 
  240.                         0     Bell prompts
  241.                         1     "Expert" mode
  242.                         2     Nulls
  243.                         3     Upper case only
  244.                         4     Line feeds
  245.                         5     Skip old bulletins
  246.                         6     Check new files on logon
  247.                         7     Use autodownload
  248.                         8     Required questionnaire answered
  249.                        9-15   RESERVED FOR FUTURE USE
  250.  
  251.  59 - 60     2   Date subscription began
  252.     61       1   Page length to use for this users terminal
  253.     62       1  ------- RESERVED FOR FUTURE USE ---------
  254.             ---
  255.             14
  256.  
  257.  
  258.  
  259.  
  260.                        Page 108 of 149
  261. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  262.  
  263. APPENDIX B -- RBBS-PC in a DESQview Environment
  264. -----------------------------------------------
  265. Before  you continue,  make certain you have read and thoroughly understand 
  266. the instruction manual provided with your copy of DESQview.
  267.  
  268. 1.  Modifications to DOS CONFIG.SYS and RBBS-PC batch files:
  269. ------------------------------------------------------------
  270. The first step in using DESQview with RBBS-PC is setting up your CONFIG.SYS 
  271. file.   Files=25 is probably the most critical value.  This value tells DOS 
  272. how  many files may be open at the same time.   This value may need  to  be 
  273. increased if you intend to run more than 2 nodes of RBBS-PC.
  274.  
  275. A typical CONFIG.SYS file should include the following:
  276.  
  277.      files=25
  278.      buffers=25
  279.      (device=ansi.sys is not required when using DESQview)
  280.  
  281. If  you  intend to use two or more nodes of RBBS-PC,  a batch file will  be 
  282. required for each node.  These batch files will eventually be executed from 
  283. the DESQview "Open Window" menu and will load each node of RBBS-PC.
  284.  
  285. Contents of RBBS1.BAT                   Contents of RBBS2.BAT
  286.  
  287. if exist rctty1.bat del rctty1.bat      if exist rctty2.bat del rctty2.bat
  288. watchdg1 off                            watchdg2 off
  289. rbbs-pc.exe 1                           rbbs-pc.exe 2
  290. watchdg1 on                             watchdg2 on
  291. if exist rctty1.bat rctty1.bat          if exist rctty2.bat rctty2.bat
  292. rbbs1.bat                               rbbs2.bat
  293.  
  294. In  the above examples,  the program WATCHDOG is being used to monitor  for 
  295. carrier when the SYSOP has dropped into DOS remotely or a user has opened a 
  296. Door.   For example, WATCHDG1 monitors COM1 and WATCHDG2 monitors COM2.  If 
  297. you aren't using WATCHDOG, leave these commands out of your batch files.
  298.  
  299. 2. What to Tell RBBS-PC's "CONFIG" Utility
  300. ------------------------------------------
  301. When  using DESQview you will need to change the following  parameter  with 
  302. the RBBS-PC "CONFIG" utility:
  303.  
  304.      Environment running concurrent RBBS-PC's ------ DESQview
  305.  
  306. 3. Running Multiple Nodes (or copies) of RBBS-PC
  307. ------------------------------------------------
  308. If you intend to use two or more nodes of RBBS-PC,  you will need to change 
  309. a few additional parameters with the RBBS-PC "CONFIG" utility.   When using 
  310. multiple  nodes  of  RBBS-PC you will be using a .DEF file for  each  node.  
  311. Each  node will have a .DEF file named RBBS?PC.DEF where ?  represents  the 
  312. number  of the node.   These are created by answering YES to  the  question 
  313. "Will  you  be  running multiple copies of RBBS-PC (YES or NO)?"  when  the 
  314. "CONFIG"  utility first loads.   If you prefer to use the  parameters  from 
  315. your  existing single node RBBS-PC.DEF file,  you may simply copy that file 
  316. to the new .DEF files before you run the "CONFIG" utility.   After  loading 
  317. the "CONFIG" utility,  it will ask you "To which copy of RBBS-PC will these 
  318. options apply (1 to 36)?" and you should respond with node number (or copy) 
  319. you want to configure.
  320.  
  321. Here are the parameters that will have to be changed for each node of RBBS-
  322. PC you intend to use.  This example is for a system with two nodes.
  323.  
  324.  
  325.                        Page 109 of 149
  326. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  327.  
  328.                               Node DEF file--> RBBS1PC.DEF    RBBS2PC.DEF
  329. Default Configuration Parameters               Parameters     Parameters
  330. --------------------------------               -----------    -----------
  331. Communications port to be used by RBBS-PC ---- COM1           COM2
  332. File RBBS builds dynamically to open a 'door'- D:RCTTY1.BAT   D:RCTTY2.BAT 
  333. When a 'door' closes, file to re-invoke RBBS - D:RBBS1.BAT    D:RBBS2.BAT
  334. Maximum number of concurrent RBBS-PC's  ------- 2              2
  335.  
  336. Please note that the preceding parameters are located on different pages of 
  337. the "CONFIG" utility.   The parameter pages and numbers aren't specified to 
  338. avoid confusion in the event they are changed in subsequent versions of the 
  339. "CONFIG" utility.
  340.  
  341. 4. DESQview Setup Default Settings
  342. ----------------------------------
  343. The  first  step in setting up DESQview for use with RBBS-PC is  specifying 
  344. the default settings for DESQview.  DESQview has a program called SETUP.EXE 
  345. that you should run.   After the SETUP program loads,  press RETURN for the 
  346. Advanced Setup Procedure followed by a "P" for Performance defaults.   Here 
  347. is an example of the settings you should use.
  348.  
  349.       Advanced Setup: Performance
  350.  
  351.          Task Processing Time (clock ticks)
  352.                   Foreground:    4           <-----
  353.                   Background:    3           <-----
  354.  
  355.          Memory Usage (in K bytes)
  356.               DESQview Scripts:     1
  357.               Playback Scripts:     1
  358.               Learn Scripts:        1
  359.               System Memory:       12
  360.  
  361.          High Speed Comm?  (Y/N):  Y         <-----
  362.          Jump Scroll?      (Y/N):  N
  363.          Swap to Disk?     (Y/N):  N
  364.  
  365. The arrows above refer to changes from DESQview's default settings.   NEVER 
  366. indicate more clock ticks for Background processing than you are using  for 
  367. the Foreground processing.  DESQview will automatically increase the amount 
  368. of  Background  clock ticks whenever there is little demand for  Foreground 
  369. processing.   This  is the case when running RBBS-PC in the background  and 
  370. doing  word processing or a similar task in the foreground.   This  feature 
  371. cannot function properly if the Background clock ticks are set higher  than 
  372. the  Foreground  clock ticks.   Setting the High Speed Comm default to  YES 
  373. will make communications interrupts the highest priority.   This will  keep 
  374. file  transfers  going smoothly for your callers while you are doing  other 
  375. tasks or operating multiple nodes of RBBS-PC.
  376.  
  377. 5. Adding RBBS-PC to DESQview's  "Open Window" Menu
  378. ---------------------------------------------------
  379. Refer to the section "Adding Your Own Program" in the DESQview manual.  You 
  380. will need to "Add a Program" for each node of RBBS-PC you intend to operate 
  381. on your system.   You may name the programs N1,  N2, etc.  N1 will load the 
  382. batch file RBBS1.BAT,  N2 will load RBBS2.BAT and so on.  Use the following 
  383. settings for each node (or copy) of RBBS-PC you install.
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.                        Page 110 of 149
  391. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  392.  
  393.                                Add a Program
  394.  
  395. Program Name . . . . . .  RBBS-PC  [node 1]    Keys to use on Open Menu N1
  396.  
  397. Command to Start Program  RBBS1.BAT
  398.  
  399. Path to Data Files . . .  D:\RBBS  (subdirectory RBBS1.BAT is located in)
  400.  
  401. Memory Size (in K) . . .  288  (see "Memory Considerations" below)
  402.  
  403. Window Position  . . . .  Row   0   Column   0   Height  25   Width  80
  404.  
  405. Script Buffer Size (in bytes)   1000
  406.  
  407. Options:
  408.             OFF                 ON---> Displays graphics information
  409.             OFF                 ON---> Uses its own colors
  410.             OFF                 ON---> Allows keyboard type-ahead
  411.             OFF                 ON---> Allows script type-ahead
  412.             OFF                        OFF
  413.  
  414. To toggle an option ON or OFF,  move the cursor to the option with the  TAB 
  415. key  and press the + key to the right of the numeric pad.   An option is ON 
  416. whenever it is highlighted on your screen.   Only the first four options on 
  417. the right hand side should be highlighted before pressing RETURN to end the 
  418. "Add  a  Program"  session.   Leaving the  "Displays  graphics  information 
  419. "option set to OFF (not highlighted) may cause your system to lock-up  when 
  420. you attempt to open another window.
  421.  
  422. 6.  Memory Considerations
  423. -------------------------
  424. Current  versions of DESQview require a little under 162k of your  system's 
  425. memory.   This  leaves  you with about 478k to operate RBBS-PC on a  system 
  426. with 640k.   Specify a minimum window size of 232k for each node of RBBS-PC 
  427. you intend to operate.   Two nodes would be the maximum amount for a system 
  428. with  640k.   If you choose to use RBBS-PC's external protocol drivers  for 
  429. file  transfers and your system's memory is 640k,  you would have  to  tell 
  430. CONFIG  that they were to be invoked by EXITing to a .BAT file rather  than 
  431. SHELLing to them.
  432.  
  433. If  you use the second node for SYSOP duties only,  the above configuration 
  434. should  work  nicely.   When  using the second node  for  SYSOP  duties  an 
  435. additional  modem and an additional RS-232 interface is not required -- all 
  436. you  have to do is use CONFIG to set up the .DEF file for the node you  are 
  437. going to use for SYSOP duties as using COM0.  Failure to do so
  438. will prevent your second node from loading properly.
  439.  
  440. 7.  Expanded Memory
  441. -------------------
  442. If  you are using an "Expanded Memory" board that allows more than 640k  to 
  443. be used for programs, the constraints discussed in the previous section may 
  444. not  apply.   Specify  a window size of 440K for each node of  RBBS-PC  and 
  445. invoke  the  external protocol drivers by  SHELLing.   For  information  on 
  446. running programs in expanded memory,  refer to the manuals for DESQview and 
  447. your particular memory board.
  448.  
  449. 8. How to AUTOEXEC RBBS-PC From DESQview
  450. ----------------------------------------
  451. Refer  to  the section "Learn:  DESQview's Keystroke Macro Feature" in  the 
  452. DESQview manual.  A script assigned to the ! key (on the DESQview menu) has 
  453. a  special  meaning.   It is performed at the time you start  up  DESQview, 
  454.  
  455.                        Page 111 of 149
  456. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  457.  
  458. immediately  after  the DESQview menu appears.   This is called  a  STARTUP 
  459. SCRIPT.   You  should "Learn" the Startup Script with no windows  open  and 
  460. with the DESQview menu displayed to be sure it will play back properly. Use 
  461. this  particular  script to load N1,  N2,  etc.  of RBBS-PC.   If you  load 
  462. DESQview  from  your AUTOEXEC.BAT file,  RBBS-PC will  load  from  DESQview 
  463. automatically.   This can be handy if there is a power outage while you are 
  464. away  and no one is around to re-load RBBS-PC when the electricity returns.  
  465. Finally,  it's  suggested that you open the window(s) for RBBS-PC prior  to 
  466. opening a window for any other application software.
  467.  
  468. 9. RBBS-PC Technical Support For DESQview
  469. -----------------------------------------
  470. The preceding configuration has been given to every SYSOP that has
  471. contacted our bulletin board system regarding DESQview usage with RBBS-PC.
  472. It has, in every case, solved their problems with DESQview and RBBS-PC.
  473. If you follow these instructions and continue to have difficulties, please
  474. contact us and we will do our best to help out.
  475.  
  476.                                                John Taylor
  477.                                                SYSOP, Indiana On-Line (tm)
  478.                                                (812) 332-RBBS /data
  479.                                                (812) 332-1110 /voice
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.                        Page 112 of 149
  521. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  522.  
  523. APPENDIX C -- RBBS-PC in a MultiLink Environment
  524. ------------------------------------------------
  525. RBBS-PC  CPC15-1B  can ONLY run in a MultiLink environment  with  MultiLink 
  526. Version 3.02 or earlier.   MultiLink Version 3.03, 4.0 and later are unable 
  527. to  support programs compiled with the new BASIC compilers if the  programs 
  528. write to both the communications port and the local PC's  screen.   Compile 
  529. and run the following simple program and you can see for yourself:
  530.  
  531.                DEFINT A-Z
  532.                OPEN "COM1:1200,N,8,1,RS,CD,DS" AS #3
  533.                FOR I = 1 TO 3200
  534.                  PRINT "This is line"+STR$(I)
  535.                NEXT               
  536.                END
  537.  
  538. This  simple   program will hang MultiLink 3.03 and 4.0 because with  these 
  539. newer releases,  MultiLink became incapable of switching tasks correctly if 
  540. the communications port was open and the screen was scrolling.
  541.  
  542. CONFIG's  allows  the SYSOP to tell RBBS-PC that it will be  running  in  a 
  543. MultiLink  environment.   This  is  ESSENTIAL when  running  RBBS-PC  under 
  544. MultiLink.  CONFIG allows the SYSOP to specify what MultiLink terminal type 
  545. code to pass to MultiLink whenever RBBS-PC exits to DOS via a "Door".  Page 
  546. 15  of  the  MultiLink documentation specifies the  various  terminal  type 
  547. codes.  When a SYSOP indicates that "doors" are available (via parameter 81 
  548. of CONFIG) and  RBBS-PC is  to be  run under  MultiLink, the SYSOP is asked 
  549. to  select the MultiLink terminal type that RBBS-PC is to inform  MultiLink 
  550. to expect when MultiLink is given control of the "Door."
  551.  
  552. RBBS-PC  CPC15-1B has been tested running two copies of RBBS-PC  under  DOS 
  553. 3.1  and MultiLink Advanced (version 3.02) on an IBM PC which had a mother-
  554. board  containing  256K and an AST Comboplus board with 384K  (a  total  of 
  555. 640K).   The  "autoexec"  file  was named AUTOEXEC.BAT  and  contained  the 
  556. following parameters
  557.  
  558.                     MLINK /9,288/9,288
  559.  
  560. NOTE! ==>  I  have  been unable to get multiple copies of  RBBS-PC  to  run 
  561.            under  either MultiLink 3.03 or MultiLink 4.0 (newer releases of 
  562.            MultiLink) with the above configuration.   Instead I have had to 
  563.            set the MLINK command to
  564.  
  565.                      MLINK /1,182,1,xxx/1,182,1,xxx
  566.  
  567.            where  xxx  is the baud rate that you want the modem  initialize 
  568.            at.  Additionally, this has only function when patches through 7 
  569.            were  applied to ML 3.03.   Applying subsequent  patches  caused 
  570.            very strange results.
  571.  
  572. It  is  important to avoid doing several things when running RBBS-PC  under 
  573. MultiLink.   First,  NEVER RUN MLSLICE!   This is because MLSLICE hangs off 
  574. the PC's timer chain and the code generated by the BASIC compilers violates 
  575. all  sorts  of  DOS conventions whenever it is utilizing the  PC's  speaker 
  576. (i.e. as when RBBS-PC pages the SYSOP).  In so doing, the code generated by 
  577. the  BASIC  compilers  is incompatible with programs  that  do  follow  DOS 
  578. conventions.  
  579.  
  580. Second,  NEVER use the DOS "PRINT" command!  This is because there is a bug 
  581. in  the code generated by the BASIC compiler that causes the system to hang 
  582. if a compiled BASIC program is running and DOS is printing something.  This 
  583. bug  has  been corrected in the BASIC compiler that was  used  to  generate 
  584.  
  585.                        Page 113 of 149
  586. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  587.  
  588. RBBS-PC.EXE  that is distributed.   However the version of RBBS-PC that you 
  589. get (if other than from CPCUG) may not have this bug corrected.   This is a 
  590. bug that occurs independent of running MultiLink.
  591.  
  592. Third,  check your Intel 8088 chip's copyright date by opening up the cover 
  593. and  locating the 8088 chip.  If the copyright date printed on the chip  is 
  594. 1978 (i.e. pre 1981), REPLACE THE INTEL 8088 CHIP!!!!!  The 1978 Intel 8088 
  595. chip  had  several  design flaws that will cause your  system  to  lock  up 
  596. occasionally.   One of these design flaws allowed interrupts to occur while 
  597. stack  switching  (something that will happen running  multiple  partitions 
  598. doing disk I/O under any multi-tasking DOS add-on such as MultiLink or even 
  599. IBM's TopView).   Don't blame MultiLink for the flawed Intel 8088 chip that 
  600. IBM  put  in  your PC!   It costs about $70 ($35 for the chip and  $35  for 
  601. labor)  and  takes  about  15 minutes to have  the  1978  Intel  8088  chip 
  602. replaced.   In fact, if you are going to replace your 1978 Intel 8088 chip, 
  603. you might consider the newer (and 5% to 10% faster) NEC V20 chip.
  604.  
  605. Fourth,  DON'T  USE "BUFFERS=" in the CONFIG.SYS for DOS!   This may be  an 
  606. "old  wives  tale,"  but I am convinced (but can't prove)  that  there  are 
  607. incompatibilities between the code the BASIC compiler generates,  DOS's use 
  608. of "BUFFERS=", and MultiLink.  
  609.  
  610. Fifth,  DON'T  ALLOW MNP PROTOCOL for file transfers.   An  incompatibility 
  611. exists  between  the Software Link,  Inc.'s Multi-Link and  MICROCOM's  MNP 
  612. software.   Until  the  respective vendor's resolve this,  don't  use  both 
  613. products concurrently! 
  614.  
  615. Sixth, RBBS-PC will only run in Background 1 or Background 2.
  616.  
  617. Finally,  DON'T  RUN  PROGRAMS THAT USE THE BASIC "RUN-TIME"  LIBRARY,  and 
  618. always invoke the BASIC interpreter with the command BASIC /C:0!  Both  the 
  619. BASIC interpreter's handling of communications ports and BASRUN.EXE seem to 
  620. violate enough DOS conventions to "lock up" MultiLink.
  621.  
  622. When  RBBS-PC detects that it is running in a MultiLink environment it will 
  623. automatically do the following:
  624.  
  625.     1.  When re-cycling, it will automatically enque on the correct
  626.         MultiLink resource ID for the communications port defined
  627.         in CONFIG for that copy of RBBS-PC to use.
  628.     2.  When re-cycling, it will automatically tell MultiLink that
  629.         this is a type "9" partition (i.e. MultiLink is NOT to handle
  630.         the communications port).
  631.     3.  When exiting to DOS via a "door", RBBS-PC will automatically
  632.         tell MultiLink to start handling the communications for this
  633.         partition (COM1 or COM2) and what type of terminal was defined
  634.         in CONFIG that would be on the communications port (MultiLink
  635.         terminal types 1 through 12).
  636.  
  637. Manually,  it  is  possible to bring up and run one copy of  RBBS-PC  under 
  638. MultiLink.   The  only way that I have been able to bring up two copies  of 
  639. RBBS-PC  successfully  (one copy running in each of two partitions) was  to 
  640. bring  them up via AUTOEXE1.BAT and AUTOEXE2.BAT files.   It  appears  that 
  641. during  the MultiLink initialization sequence when the partitions are being 
  642. established  and the "AUTOEXEx.BAT" files are being invoked that  MultiLink 
  643. doesn't  get "confused" and lock up with a second copy of RBBS-PC  present.   
  644.  
  645. If  using   Multi-Link to  run multiple  nodes in  the same  machine  under 
  646. DOS 3.x or above,  it is recommended that the SYSOP execute SHARE.COM prior 
  647. to starting multiple RBBS-PC nodes under Multi-Link and specify FILES=20 in 
  648. the CONFIG.SYS file.
  649.  
  650.                        Page 114 of 149
  651. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  652.  
  653. APPENDIX D -- RBBS-PC in a CORVUS Network
  654. -----------------------------------------
  655. RBBS-PC  uses  the  standard Corvus SEMAPHORES  when  sharing  files  among 
  656. multiple  copies of RBBS-PC within a Corvus Network.   This is accomplished 
  657. via  the  MS-DOS utility driver,  DRIVEC2,  that Corvus supplies  with  its 
  658. network.  
  659.  
  660. On a multi-server Corvus network (i.e. where there are multiple shared hard 
  661. disk  drives)  all PC's that are running RBBS-PC within the Corvus  network 
  662. MUST  have their "home volume" on the same server.   Corvus maintains  each 
  663. PC's  semaphores  on that PC's "home volume".   In order to  "share"  files 
  664. among  various PC's in a Corvus network,  all the PC's that  are  "sharing" 
  665. must  also  be looking at the same set of semaphores.   In a  single-server 
  666. Corvus network this is not a consideration because there is only one  "home 
  667. volume."  
  668.  
  669. RBBS-PC  has  been only tested with the Corvus CONSTELLATION  II  interface 
  670. cards  and software that Corvus provides for the IBM  PC.   RBBS-PC  should 
  671. work  with  both Corvus' older "flat cable" network as well as their  newer 
  672. OMNINET  twisted  wire  pair cable network when  running  CONSTELLATION  II 
  673. software.   It  is  entirely  possible that RBBS-PC would  work  with  some 
  674. combination  of  both  Corvus network types as long as  they  were  running 
  675. CONSTELLATION II software.
  676.  
  677. It  should  be self-evident that every PC within a Corvus  network  running 
  678. RBBS-PC  must have a Corvus interface card.   If multiple copies of RBBS-PC 
  679. are  running in a Corvus network that is using older Corvus software  (i.e. 
  680. NOT running the CONSTELLATION II software),  the interface cards  must,  at 
  681. least, all have the CONSTELLATION II ROM. 
  682.  
  683. RBBS-PC is tested only to run on IBM PC's within a Corvus network.  Clearly 
  684. an  IBM "clone" that can run IBM's DOS,  RBBS-PC.EXE,  and is supported  by 
  685. Corvus' network should also work.   However, such configurations (and their 
  686. many  variations) are not part of the environment within which  RBBS-PC  is 
  687. tested and supported.
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.                        Page 115 of 149
  716. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  717.  
  718. APPENDIX E -- RBBS-PC in an ORCHID PCnet NETWORK or AST PCnet NETWORK
  719. ---------------------------------------------------------------------
  720. RBBS-PC CPC15-1B can be implemented on an Orchid PCnet or AST PCnet Network 
  721. environment.   It  is  assumed  that  the  necessary  network  hardware  is 
  722. installed  correctly.
  723.  
  724. The  following  discussion  describes a network  currently in operation and 
  725. receiving  more than 1000 calls  per  week  on two telephone  lines for the 
  726. Computer Connection of Virginia Beach.
  727.  
  728. Equipment Employed
  729.  
  730.        1.  80286 based SERVER with base memory of 512K running at
  731.            up to 9 mghz and containing the following:
  732.                 Parallel-Serial Board for the AT with the serial
  733.                        port addressed as COM1
  734.                 AST Rampage memory board configured with 2 megs of
  735.                        expanded memory
  736.                 Monochrome Adapter with parallel printer port
  737.                 PC Net adapter addressed as 0080 with default jumpers
  738.                 Hard disk that can be divided into multiple volumes
  739.                 Single High Density [1.2 meg] floppy disk
  740.                 External modem and cable connected to COM1
  741.        2.  8088 based WORKSTATION with base memory of 640K running
  742.            at up to 8 mghz and containing the following:
  743.                 multifunction board with async port addressed as
  744.                        COM1, a clock, and parallel port
  745.                 PC Net adapter addressed as 0011 with default jumpers
  746.                 Color Graphics Adapter
  747.                 Two 360K floppy drives
  748.                 External modem and cable connected to COM1
  749.  
  750. Software -
  751.        1.  Operating System = DOS 3.1 network-wide
  752.        2.  Network Software = Orchid PC Net 3.0a
  753.        3.  Disk Caching Software = Orchid CACHE.EXE version 2.2
  754.        4.  RAM Disk = AST FASTDISK
  755.  
  756. Installation -
  757.       Preliminaries
  758.          1. Backup hard disk, system and network disks.
  759.          2. If any other hardware configuration than above, be sure to
  760.                resolve INTerrupt conflicts with the PC NET adapters.  If
  761.                there are second serial or parallel ports in the system,
  762.                you should disable them.
  763.  
  764.    Using the WORKSTATION, boot with DOS 3.1 then
  765.        1.  Place the Orchid Network System disk in A: and a blank formatted
  766.            system disk in B:, create the SERVER and WORKSTATION boot disks
  767.            with SPCGEN and UPCGEN commands, respectively.
  768.        2.  Copy device drivers for the hard disk, for the RAM disk, and for
  769.            Expanded and Extended memory (REMM.SYS and REX.SYS) to the SERVER
  770.            boot disk as well as CACHE.EXE.  Using your favorite ASCII text
  771.            editor, create the following CONFIG.SYS file:
  772.  
  773. device=spc.com                       <--- Network SERVER driver
  774. device=REMM.SYS                      <--- Expanded memory driver
  775. device=rex.sys 1024                  <--- Emulated extended memory of 1 mb
  776. device=fastdisk.sys 1024 512 128 /e   <--- RAM disk of in extended memory
  777.  
  778.  
  779.  
  780.                        Page 116 of 149
  781. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  782.  
  783. Place the following commands in the AUTOEXEC.BAT file:
  784.  
  785. disk13                        <--- Network required for floppy disk use
  786. cache [drives] d=128 x=896 /r <--- Cache using 128 of DOS memory and
  787.                                    and 896K of EMS memory for drives
  788.                                    assigned on the Server to reduce number
  789.                                    of disk accesses
  790. spcbio 138023                 <--- Server network program stating the
  791.                                    interrupts used
  792.  
  793. Using the SERVER, boot with the newly created SERVER boot disk
  794.     1.  Run the network program SPCINST.
  795.     2.  After naming all the available drives on the server, assign
  796.         all the hard drive volumes to the WORKSTATION # 11 and
  797.         make them all READ/WRITE capable.  "Remote Execution" need
  798.         not be enabled.
  799.     3.  The SERVER will then reboot and the network will have the
  800.         final configuration as outlined above.
  801.  Using the WORKSTATION, boot with the newly created WORKSTATION boot
  802.     disk then perform the following steps:
  803.  
  804.     1.  Add to the CONFIG.SYS file for the WORKSTATION the command,
  805.         FILES = 16.
  806.     2.  Run the network program UPCINST and set it up to communicate
  807.         with SERVER # 80.
  808.     3.  "Map" in all the drives that were assigned by the SERVER.
  809.     4.  The WORKSTATION will then reboot so the changes can take
  810.         effect.
  811.     5.  After the booting is completed, do a DIR C: to see if one
  812.         can read the directory on the SERVER hard disk.  If not,
  813.         recheck cables, plug-in cards for INTerrupt conflicts, and network
  814.         adapter cards to verify all jumper settings.  If necessary,
  815.         run the SELFTEST and NETTEST diagnostics for the network
  816.         adapter cards.  Also, demonstrate the ability to copy files
  817.         across the network to and from the server then verify the
  818.         transfer using the COMP command.
  819.  
  820. Assuming that you are able to do a DIR across the network and copy files to 
  821. and from the SERVER, you are then ready to run CONFIG.EXE of RBBS-PC.
  822.  
  823. CONFIG  Options for PC Net - Start up CONFIG and confirm use of RBBS  in  a 
  824. multinode environment.  Assign the number 1 Node to your SERVER.
  825.  
  826. 1.  Assign all welcome, bulletin, help and menu files to the SERVER's
  827.     RAM drive so the workstation may access them in the fastest way.
  828. 2.  Store FILESEC, PASSWRDS, MESSAGES, USERS and other sensitive
  829.     files in a non-downloadable but sharable drive volume on the
  830.     SERVER so the workstation may have read/write access to them.
  831. 3.  Select a location for the SERVER's CALLERS file and the
  832.     WORKSTATION's [option 85].
  833. 4.  Give unique names for BATch file options, e.g. RCTTY1.BAT and
  834.     RCTTY2.BAT, RBBS1.BAT and RBBS2.BAT using the numbers to indicate
  835.     the node number assignment.
  836. 5.  Choose PCNET as the environment that you are running RBBS-PC
  837.     under  [option 142].
  838.  
  839. Other Considerations
  840.  
  841. 1.  VDISK or Extended memory, which is not-emulated memory, should not
  842.     be used on the SERVER but can be used on the Workstation.  The
  843.     network configuration most likely to remain operating with very
  844.  
  845.                        Page 117 of 149
  846. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  847.  
  848.     few problems is DOS 3.1, Orchid 3.0a PC NET software and CACHE.EXE
  849.     version 2.2 and an Expanded/Extended memory combination using the
  850.     new Lotus/Intel/Microsoft EMS memory boards.  [Many thanks to
  851.     Charles Innusa of PC Rockland for sharing this information!]
  852. 2.  Two nodes can be efficiently set up using the SERVER in non-dedicated
  853.     mode but the danger is that if the SERVER locks up, the whole system
  854.     locks up.  The sample PC Net system is set up in this fashion but
  855.     it is an economical approach to a two node system which has been
  856.     functioning quite well with minimal problems.  Do not run software
  857.     on the SERVER that is known to cause problems especially memory
  858.     resident utilities.
  859. 3.  There is a potential for files being CROSS-LINKED in any read/write
  860.     sharable environment.  Frequent backups are to be very strongly
  861.     recommended.
  862.  
  863. Rob Cecchino
  864. Sysop, Computer Connection
  865. (804) 481-1824 @ 1200/2400 for assistance.
  866.  
  867.  
  868. Because  of  wide  variety of hardware combinations  and  possible  network
  869. permutations,  the  above  is  intended ONLY as general  guidelines  to  be
  870. followed when installing RBBS-PC on your Orchid network.
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.                        Page 118 of 149
  911. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  912.  
  913. APPENDIX F -- RBBS-PC in an Alloy PC-SLAVE/16 Environment
  914. ---------------------------------------------------------
  915. The   PC-Slave  is  an  IBM  compatible  computer  on  an  expansion   card
  916. manufactured  by Alloy Computer Products,  Inc.  of Framingham,  MA  01701.  
  917. Their telephone number is (617) 875-6100.  Adding PC-Slaves converts the PC 
  918. from a single CPU to a multiple CPU,  all under the control of the main  or 
  919. host  PC.    Each slave can run RBBS-PC (or other programs).   
  920.  
  921. A. THE ADVANTAGES:  Compared to other means for running multiple RBBS-PC's, 
  922. the advantages of slaves are:
  923.  
  924. 1.  SPEED  -- Each copy of RBBS has a dedicated computer and therefore runs 
  925. very fast compared to multi-tasking products like Multi-Link,  DesqView, or 
  926. Top View.
  927.  
  928. 2. SHARED FILES -- Each bulletin board can share files, including the users 
  929. and  messages.   The PC Slave system acts like Orchid's PC-Net network  for 
  930. record locking.
  931.  
  932. 3.  EXPANDABILITY -- You can have up to 31 slaves.   The big advantage over 
  933. Multi-Link  is that you have faster boards and can expand beyond 2  boards.  
  934. The big advantage over networks is that you do not have to add another  PC, 
  935. just another slave.  The power supply and cooling capacity of a PC-2 limit
  936. you  to adding only 1 slave.   An XT and AT can have more.   You can buy PC 
  937. compatibles that have more expansion slots.   You can also get an  external 
  938. hard disk with expansion slots.  Or you can buy an expansion chassis.
  939.  
  940. 4.   COSTS   -- It  is  far cheaper to expand using  PC-Slave/16's  than  a 
  941. network.    The   PC-Slave  lists  for  $900  and  can  be  purchased   for 
  942. significantly less.  Other networks require not only a separate PC but also 
  943. a  "network" card of some sort which puts the costs of each port well above 
  944. $2,000.
  945.  
  946. 5.  DEDICATED PC IS NOT REQUIRED --  Your PC can remain free for you to use 
  947. while  slaves run the bulletin boards (or run another copy of the  bulletin 
  948. board).    You  do  not  degrade performance  on  the  slaves,  except  for 
  949. contention  for  the  hard  disk and that can be mitigated  by  using  disk 
  950. caching.
  951.  
  952. B. THE DISADVANTAGES:  The disadvantages of a slave system are:
  953.  
  954. 1.  Not all hard disks are compatible with the slaves.  Hard disks known to 
  955. be compatible include the 20 meg Seagate,  Priam 60 meg, and Bernoulli hard 
  956. disks,  as well as the Alloy line of hard disks.  Hard disks definitely not 
  957. compatible include all models of US Design.
  958.  
  959. 2.   There  is  no  easy or cheap way to view the sessions  on  a  monitor.  
  960. Standard  IBM PC monitors cannot be attached to a slave,  though there  are 
  961. several monitors that can be.   A special cable is required.   The cheapest 
  962. effective  solution  is to have a single monitor attached to a  switch  box 
  963. that lets the activity be viewed on any slave.
  964.  
  965. 3.    Neither DOORS nor dropping to DOS can be done safely on a slave.  The 
  966. danger is that if carrier is dropped,  the modem may continue to answer the 
  967. phone  and  potentially let a new caller pick up the same  session  without 
  968. being identified as a different caller. 
  969.  
  970. 4.    At most two drives can be shared for writing.  All drives can be read 
  971. from any slaves,  but to write on a non-shared drive, no other can write to 
  972. it.
  973.  
  974.  
  975.                        Page 119 of 149
  976. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  977.  
  978. C. OVERVIEW OF SETTING UP A PC-SLAVE/16 RBBS_PC:  Five easy steps on how to 
  979. install RBBS-PC in a PC-Slave/16 environment (Note that the PC Slave system 
  980. requires a special configuration for RBBS):
  981.  
  982. STEP 1 --  You will have to purchase multiple telephone lines.  They can be 
  983. made to roll so that only one number is called,  and if busy, the call will 
  984. roll over to the other lines.
  985.  
  986. STEP  2  --  Install the slaves.   Remember to set switches  on  the  slave 
  987. boards that number them consecutively.   See the PC-Slave documentation for 
  988. details.
  989.  
  990. STEP  3 --  Install the software.   The Alloy PC-Slave has to have  special 
  991. Alloy  software  called ATNX to coordinate the slaves and process  requests 
  992. for  shared resources.   You also have to run an Alloy routine  to  prepare 
  993. your  hard  disk  for  use  with  the  Alloy  slaves.    See  the  PC-Slave 
  994. documentation for details.
  995.  
  996. STEP 4 -- Install a modem with no pin 22.   Pin 22 used to be required with 
  997. RBBS  in  order  to answer the phone.   On the slaves,  pin  22  CANNOT  be 
  998. connected, or else the slave will continuously reboot.
  999.  
  1000. STEP 5  Configure RBBS-PC using CONFIG.EXE with the following options:
  1001.  
  1002.      (a)  use COM2
  1003.      (b)  Number of rings to wait before answering: 0
  1004.      (c)  Tell RBBS you are running on an IBM compatible
  1005.           rather than a PC, XT, or AT.  (Lie and tell RBBS
  1006.           you have a Compaq Plus.)
  1007.      (d)  Set the maximum number of bulletin boards to as
  1008.           many boards as you intend to install (rather than
  1009.           the number you are currently running.  This makes
  1010.           expansion easier.).
  1011.      (e)  PC-Net is the multi-user environment you will be
  1012.           running under.
  1013.      (f)  Set up the RBBS files.
  1014.  
  1015. An  easy  way  to configure the multiple RBBS's is to put  each  one  in  a 
  1016. separate  subdirectory,  e.g.  "RBBS1"  for the 1st node,  "RBBS2" for  the 
  1017. second,  etc.   Inside each subdirectory will be the callers file for  that 
  1018. node and the DEF file (RBBS1PC.DEF,  RBBS2PC.DEF, etc.).  The DEF files can 
  1019. be  the  same.   Make  the  default  drive  on  each  slave  be  the  right 
  1020. subdirectory.   Path over to where the RBBS-PC.EXE is stored.   Invoke each 
  1021. RBBS by using its node number, e.g. "RBBS-PC 1", "RBBS-PC 2", etc.  You can 
  1022. set  up an autoexec for each slave that brings up the boards  automatically 
  1023. upon system boot.
  1024.  
  1025. Please  note that the ATNX software is very vulnerable to any RAM  resident 
  1026. software.   You  should  install  the Slaves with  no  additional  software 
  1027. present and carefully test any resident software you want to run with it.
  1028.  
  1029. D. A DETAILED DESCRIPTION OF SETTING UP A PC-SLAVE 16 RBBS-PC:
  1030.  
  1031. Hardware Limitations:
  1032.    1.  Two PC/Slave 16 cards per XT box or three in an AT maximum
  1033.        otherwise you'll be buying power supplies frequently.  An
  1034.        expansion chassis for four cards (Alloy Plus4) or expansion
  1035.        chassis for up to nine cards will be needed for bigger systems.
  1036.        Expansions boxes can be daisy-chained to up to thirty one
  1037.        Nodes or workstations, if needed.
  1038.  
  1039.  
  1040.                        Page 120 of 149
  1041. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1042.  
  1043.    2.  PC/Slave 16 cards do not support PIN 22 for Ring Detect.  You
  1044.        must be able to set your modem to AutoAnswer as well as NOT have
  1045.        PIN 22 wired on your modem cables; if PIN 22 is connected, each
  1046.        callers RING will reboot the Slave.
  1047.  
  1048.    3.  No clock on the PC/Slave 16 card.  The Slave gets the Time and
  1049.        date from the main system clock and so one must be available.
  1050.  
  1051.    4.  A terminal such as a Kimtron KT-7/PC or Alloy PCST is required
  1052.        to locally access and TYPE to a Slave.  Other terminals will work 
  1053.        but may not support all of the IBM extended graphics codes.  For
  1054.        a multi-node RBBS, I use one terminal with an A-B-C-D switching
  1055.        box to 'dial in' the node I wish to TYPE to or SNOOP on.
  1056.  
  1057.    5.  The Slaves' CPU [NEC V20 @ 8 mghz] shuts down when writing to
  1058.        the hard disk.  This creates problems with timeout errors on
  1059.        uploads which can be almost completely eliminated by using a
  1060.        fast hard drive supported by Alloy and known to work; I use
  1061.        Priam's ID60ATs.  Also, the hard drive must be formatted with
  1062.        the most efficient interleave setting and driver.  Hard drives
  1063.        that work without significant upload timeout errors have been
  1064.        formatted with either Golden Bow's Vfeature Deluxe or Priam's
  1065.        formatting software; this problem is especially noticeable on
  1066.        AT systems and not too much of a problem on small XT systems.
  1067.        Seagate, Bernoulli Box, Maxtors, and Priam Inner Space drives
  1068.        seem to work fine with the Alloy PC/Slave-16 cards.  
  1069.        
  1070. Software Limitations:
  1071.  
  1072.    1.  ATNX runs Orchid PC Net applications but NTNX is more versatile
  1073.        and will run applications for Novell's Advanced Netware, MS-Net,
  1074.        AND Orchid PC Net with proper file locking.  NTNX has had less
  1075.        problems with file corruption and cross-linking than ATNX after
  1076.        polling current sysops using Alloy Slaves.
  1077.  
  1078.    2.  ATNX and NTNX will allow users working on Slaves to easily and
  1079.        routinely have read/write access on only TWO hard drive volumes.
  1080.  
  1081.    3.  ATNX and NTNX have difficulty keeping track of system date and
  1082.        time when "certain" programs are run on the Slave.  With RBBS,
  1083.        running external protocols such as Ymodem and WXmodem cause the
  1084.        time and date on the Slaves to go awry.  Also, WXMODEM does not
  1085.        work in upload mode on Slaves due to a timing problem in the
  1086.        initial handshake.  Alloy's solution to this problem is a file
  1087.        called UPTIME.COM, which is run on the HOST, but I have had very
  1088.        poor results with it.  The problem seems to be most identifiable
  1089.        on AT class machines.
  1090.  
  1091. For  the optimum system flexibility you may want to buy Alloy  PC/Slave-16N 
  1092. cards  which have the special PAL chip for NTNX/Novelle  compatibility  and 
  1093. NTNX  software (current version is 1.6).  RBBS-PC, however, will  run  fine 
  1094. without the PAL chip even under NTNX.
  1095.  
  1096. Some   nice  additional  utilities  for  the  Slaves,   including   special 
  1097. diagnostics, are found in the separate PC-Plus Advanced User's Kit and  are 
  1098. worth  having.  A single Kimtron KT-7/PC terminal or other  smart  terminal 
  1099. may be obtained right away but is not necessary for the bulletin-board-only 
  1100. system  as  one  can always sign on from remote  for  answering  mail;  pay 
  1101. special attention to the terminal-to-Slave cable as it is non-standard  and 
  1102. you'll probably wind up making it yourself for less than $5 in parts -- one 
  1103. end  is a male 9-pin D-shell and the other is 25-pin RS232 male  connector.  
  1104.  
  1105.                        Page 121 of 149
  1106. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1107.  
  1108. For  a  two  to  four node system, obtain a T-Switch  box  from  Inmacs  or 
  1109. RadioShack to hook the terminal as COMMON and Slave consoles.  The computer 
  1110. to house the Slaves, called the HOST, should be the quickest CPU speed that 
  1111. you can obtain; I use an 'old' IBM AT running at 8/9 mghz with three Slaves 
  1112. and  an  AST  Advantage with 128K to round out the host to  640K.   All  PC 
  1113. Slaves/16 should be purchased with 1 megabyte of onboard RAM.
  1114.  
  1115. Installation:
  1116.     1.  Format your hard drive with either DOS 3.1 or 3.2.
  1117.     2.  Divide the hard drive into multiple volumes of standard DOS
  1118.         size (less than 32 megabytes).
  1119.     3.  Install NTNX or ATNX and the Slaves as is written in the
  1120.         Alloy manuals.  Choose the default settings for everything.
  1121.         Use 512K on the 1 megabyte PC/Slave for caching and the other
  1122.         512 to run RBBS.  Depending on how the board is configured,
  1123.         you may need to set switches so that 512 is used to run 
  1124.         applications.  Use 4K for the Host PC caching.  Allocate 25
  1125.         files per each Slave + 64 for the maximum number of open files.
  1126.     4.  Set up the CONFIG.SYS and AUTOEXEC.BAT files for the HOST as
  1127.         follows especially if you do not plan to use the HOST as a
  1128.         Node for RBBS-PC:
  1129.  
  1130.         CONFIG.SYS
  1131.  
  1132.               device=NX.SYS          -  NTNX driver (must be first!!)
  1133.               device=hard_drv.sys    -  Your hard Disk driver
  1134.               FCBS = 32,32           -  File Control Blocks increased
  1135.               buffers = 20           -  DOS buffers
  1136.               files = 32             -  Number of OPEN files on HOST
  1137.               device = ANSI.sys      -  Extended graphics driver
  1138.  
  1139.         AUTOEXEC.BAT
  1140.  
  1141.               NTNX                   -  NTNX driver
  1142.               fm 3                   -  Level of File protection
  1143.               prompt $p$g            -  customized dos prompt
  1144.               path = ........        -  set path to the NTNX files
  1145.  
  1146.     4. Set up the CONFIG.SYS and AUTOEXEC.BAT files for the Slaves as
  1147.        follows:
  1148.  
  1149.         CONFIG.U0x under DOS 3.2
  1150.  
  1151.               FCBS = 32,32
  1152.               buffers = 10
  1153.               files = 30
  1154.               device = ansi.sys
  1155.               shell = C:\COMMAND.SLV C:\ /P /E:800
  1156.               device = ANSI.SYS
  1157.  
  1158.        Of  special  note,  the  SHELL statement has  been  used  to  expand 
  1159.        the  environment space on the Slaves.  This corrects a problem  seen 
  1160.        with  random RBBS lockups or getting Out of  Memory  errors; external 
  1161.        protocols and DOOR programs, given time, stop running due to  memory 
  1162.        problems  if one doesn't use this SHELL statement.  Under  DOS  3.1, 
  1163.        set  /E:50  [= 50 paragraphs] and under DOS 3.2, set /E:800  [=  800 
  1164.        bytes].
  1165.  
  1166.         AUTOEXEC.U0x
  1167.  
  1168.               fm 3
  1169.  
  1170.                        Page 122 of 149
  1171. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1172.  
  1173.               prompt $p$g
  1174.               path = .......       Set the path to the NTNX files and
  1175.                                        to the 'home' directory for this
  1176.                                        node on the SHARED drives
  1177.               cd\RBBS0x            Change to RBBS directory for Node x
  1178.               RBBSx.BAT            Invoke RBBS-PC for Node x
  1179.  
  1180.     5.  Configuration.  When running CONFIG with slaves, you must 
  1181.         select the following options:
  1182.           a. Type of computer:  Compaq Plus.
  1183.           b. Number of rings to wait before answering:  0.
  1184.           c. Environment:  Orchid PC Net.
  1185.           d. Communications port:  2.
  1186.           e. Maximum number of users:  at least as many slaves as
  1187.              you have, plus one if you plan to run a node on the
  1188.              host.  You can specify more if you want to plan for
  1189.              expansion.
  1190.     6.  Set up RBBS-PC as follows:
  1191.           a. Create subdirectories \RBBS01, \RBBS02, \RBBS0x... on one
  1192.              of the shared drives.
  1193.           b. Create subdirectory \MAIN for your upload directory,
  1194.              answers to questionnaires, comments.
  1195.           c. On a cached drive, place all static RBBS-PC files such
  1196.              as MENUs, HELPs, PASSWRDS, TRASHCAN, external file transfer
  1197.              protocols.  RBBS-PC.EXE and CONFIG.EXE go here as well.
  1198.           d. On the second SHARED drive, make a subdirectory \COMMON for
  1199.              MESSAGES, USERS, CONFENCE, and conference message/user
  1200.              files.
  1201.           e. If you plan to use DOORS, especially Bob Westcott's
  1202.              DOORWARE, create a subdirectory called \DOORS on the SHARED
  1203.              drive.  
  1204.           f. Run CONFIG and create RBBSxPC.DEF files for all your nodes.
  1205.              Remember that you will run multi-user under PC Net.  To answer 
  1206.              on RING zero, the modem serial port on the Slaves must be
  1207.              addressed as COM2 and not COM1.  Double-check file locations!
  1208.              You may need to edit your .DEF files to append subdirectory names
  1209.              for many of the file locations as CONFIG.EXE does not offer
  1210.              full subdirectory parameters yet.  Or, by putting your static
  1211.              text files in the same subdir as MESSAGES and USERS and making
  1212.              it the default subdirectory, you will not need to edit config.
  1213.              Then copy RBBS1PC.DEF to RBBSxPC.DEF for each node that you hope
  1214.              to have then re-edit each .DEF file to customize Node
  1215.              numbers such as RCTTY1.BAT, RBBS3.BAT, etc.  Finally, copy
  1216.              the RBBSxPC.DEF file to the matching subdirectory.  If you
  1217.              don't wish to edit the .DEF files, place RBBSxPC.DEF on one
  1218.              shared drive and place the dynamic RBBS files on the other
  1219.              shared drive; be sure that you have at least logged into
  1220.              that other SHARED drive's subdirectory, using the AUTOEXEC.U0x
  1221.              before starting RBBS or else RBBS-PC will not find those files.
  1222.           g. Temporary files used for transfer or Verbose ARC listing are
  1223.              created on the default subdirectory automatically.  You may
  1224.              assign CALLERS as either one file for all nodes or one CALLERS
  1225.              file for each node located in the default directory.
  1226.           h. To use Sysop Function 7 (Remote Drop to DOS), RBBS-PC must find
  1227.              COMMAND.COM.  PC-Slave/16's, however, use COMMAND.SLV as the
  1228.              command processor; copy COMMAND.SLV to COMMAND.COM, place it on
  1229.              a cached drive, and tell CONFIG where to find it.  Be careful
  1230.              using this Sysop function with the Slaves as you will lock up
  1231.              the Node if you lose carrier; WATCHDOG is incompatible with the
  1232.              Slaves.
  1233.              
  1234.  
  1235.                        Page 123 of 149
  1236. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1237.  
  1238. Additional tips/hints:
  1239.     1.  Avoid using any memory resident utilities.  They may interfere with
  1240.         Slave operation.
  1241.     2.  Most of the time, my terminal stays off and I use a program on
  1242.         the Advanced Utilities disk called SEE.COM to view callers
  1243.         on-line any Node from the HOST.
  1244.     3.  Norton's Editor or WordPerfect Corporation's Programmers Editor
  1245.         from the WordPerfect Library is used for editing operations on
  1246.         the system, especially for maintaining the fixed-length directory of
  1247.         the file management system.  Not many other editors, except EDLIN, can
  1248.         be used reliably.
  1249.     4.  Fine tune the network by adding as much cache for memory on the HOST
  1250.         as you can spare to as many drives as you have.  This helps to reduce
  1251.         hard disk wear and tear.
  1252.     5.  Easy to forget but don't as it will be a source of frustration -- plan
  1253.         out your file locations on paper before actually setting up the system.
  1254.     6.  Backup your system frequently!
  1255.  
  1256. If you have any questions or problems, feel free to leave a message on
  1257. my system or call me direct.
  1258.  
  1259. Rob Cecchino
  1260. Sysop, Computer Connection of Virginia Beach
  1261. Data (804) 481-9067 @ 300/1200/2400
  1262.  
  1263. Acknowledgments:  The following individuals have helped me clarify the
  1264. complexities of the Alloy PC Slave system:
  1265.  
  1266.       Ken Goosens of the FNMA-Software Exchange BBS (202)537-7475
  1267.       Paul Kopit of the Software Society BBS (201) 729-7410
  1268.       Paul Waldinger of the Sound of Music BBS (516)536-8723
  1269.       Scott Williamson of the Alloy Support BBS (617)875-4229
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.                        Page 124 of 149
  1301. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1302.  
  1303. APPENDIX G -- RBBS-PC and 10 NET Network  
  1304. ----------------------------------------
  1305. Starting with RBBS-PC CPC15-1A support for Fox Researchs' 10 Net Network is 
  1306. being provided.
  1307.  
  1308. Since  this is the first release with this support we have very little that 
  1309. we can offer in tuning support for 10 NET.
  1310.  
  1311. We selected to use the Semaphore locking mechanism that we have used in the 
  1312. other  networks and therefore you must specify the following parameters  on 
  1313. the Superstation in your 10 NET network.
  1314.  
  1315. LOGINS=x            1 for every node on the system
  1316. OPENFILE=xxx        10 for every node running RBBS-PC
  1317. SHAREFIL=16         (This is the default you can add more if you want)
  1318. LOCKS=x             3
  1319. SEMA=xxx            3 for every node running RBBS-PC
  1320.  
  1321. You will also need to run NETSU and specify option 6 (DOS file sharing).
  1322.  
  1323. Please note that these values should be in addition to any parameters you
  1324. may have already specified for other User stations and other uses of your
  1325. 10 NET network.  And you can always make the values larger in attempting to 
  1326. improve performance.   
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.                        Page 125 of 149
  1366. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1367.  
  1368. APPENDIX H -- RBBS-PC and the Hearing-Impaired
  1369. ----------------------------------------------
  1370. Telecommunications  Devices  for the Deaf (TDD's) use the Baudot  character 
  1371. set  (i.e.  5-bit) and utilize modems that transmit at 45 baud and  do  not 
  1372. generate  a  carrier signal.   This is because such devices were  initially 
  1373. adaptations   of   surplus  Western  Union  TTY  machines   for   telephone 
  1374. communications.   The  widespread  use of Baudot devices  by  the  hearing-
  1375. impaired,  the previous high cost of computers and modems,  and the lack of 
  1376. software designed for electronic communications,  has impeded the change to 
  1377. ASCII communications by the hearing-impaired community.
  1378.  
  1379. Equipment manufacturers have also made it difficult for the deaf to change.  
  1380. When TDD's with ASCII code transmission capability began to be offered, the 
  1381. majority of manufacturers limited them to only 110 baud and put disclaimers 
  1382. in  their manuals that said ASCII was available for use but that  "computer 
  1383. language" was "less reliable" and hard to use.  Their limiting of the TDD's 
  1384. output screen to 12 to 20 characters further compounded the problem because 
  1385. the screen would overwrite several times to display one line of text from a 
  1386. host  system.   The  manufacturers'  "solution"  to  this  problem  was  to 
  1387. recommend  printers for communication with such "host" systems as  RBBS-PC.  
  1388. Some  units now offer both 110 and 300 baud ASCII transmission in  addition 
  1389. to  the  45  baud Baudot.   Unfortunately,  these typically  have  only  20 
  1390. character screens.
  1391.  
  1392. In December of 1984,  Ted Janossy of Rochester, Minnesota, sent me a three-
  1393. page letter describing the above situation.   Ted's letter motivated me  to 
  1394. test  and verify the "ring-back" feature of RBBS-PC in CPC12-4A.    It  had 
  1395. not  been tested in earlier versions because I had assumed  (presumptuously 
  1396. and  insensitively)  that  "real SYSOP's don't  use  ring-back  RBBS-PC's."  
  1397. Ted's  letter  awakened  me  to  the potential  of  RBBS-PC  to  facilitate 
  1398. communications among the hearing-impaired.   In the awakening I also had  a 
  1399. chance to look down at my own feet of clay.
  1400.  
  1401. RBBS-PC can be configured to answer calls only after a specified number  of 
  1402. rings  (i.e.  15).   The telephone companies wire the homes of the hearing-
  1403. impaired such that when the phone rings,  the lights within the house flash 
  1404. on and off. 
  1405.  
  1406. With  RBBS-PC  a SYSOP can specify the number of rings RBBS-PC is  to  wait 
  1407. before answering the phone automatically.   Setting this number high enough 
  1408. allows  someone  with  a hearing impairment time enough to get  to  the  PC 
  1409. running RBBS-PC.   Pressing the PC's function key 5 (F5) causes RBBS-PC  to 
  1410. answer  the phone immediately.   The caller would know that someone was  at 
  1411. the  keyboard  because RBBS-PC answered the phone in less than the  agreed- 
  1412. upon number of rings.   The caller would log onto RBBS-PC normally and  the 
  1413. person  at the PC keyboard would be able to see who it was.   If the person 
  1414. who was called wanted to "chat" with the caller,  all they would have to do 
  1415. would be to press function key 10 (F10). 
  1416.  
  1417. If  RBBS-PC  didn't answer the telephone within the agreed-upon  number  of 
  1418. rings,  the caller would know that whomever was being called couldn't  come 
  1419. to the keyboard.  The caller would then log on and leave a message.
  1420.  
  1421. I  would  like to thank Ted and his wife,  Sue,  for caring enough to  show 
  1422. where  RBBS-PC  might  fulfill one of  it's  primary  purposes,  "the  free 
  1423. exchange of information," by enhancing telecommunications for the deaf. 
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.                        Page 126 of 149
  1431. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1432.  
  1433. APPENDIX I -- RBBS-PC and the IBM PCjr
  1434. --------------------------------------
  1435. RBBS-PC adheres to the Hayes standards for autoanswer applications that are 
  1436. described in Section 9,  "Writing Programs for the Smartmodem 1200," of the 
  1437. the SMARTMODEM 1200 HARDWARE REFERENCE MANUAL.   Under the section entitled 
  1438. "Additional   Program  Considerations"  Hayes  recommends  that  autoanswer 
  1439. applications  (like RBBS-PC) "...  force the modem to answer the call (ATA) 
  1440. rather  than  allowing the modem to automatically  answer...."    Beginning 
  1441. with  CPC13-1A,  RBBS-PC no longer REQUIRES the Ring Indicator signal  from 
  1442. the modem (pin 22) in order to answer the phone (except if parameter 204 of 
  1443. CONFIG is non-zero).
  1444.  
  1445. Here are some facts about the PCjr:
  1446.  
  1447. 1.   The  PCjr's  external modem interface does not have a  Ring  Indicator 
  1448. signal.
  1449.  
  1450. 2.   The  PCjr  requires  that an external modem be opened as  COM1  if  no 
  1451. internal modem is installed.  However, if no internal modem exists the PCjr 
  1452. requires  that  the COM2 RS-232 registers be used even though the port  has 
  1453. been opened as COM1.   Technically this is described as using the  external 
  1454. RS-232   asynchronous  adapter  as  logical  channel  1  (i.e.   COM1)  but 
  1455. manipulating it as physical channel 2 (i.e.  COM2).   This occurs on a PCjr 
  1456. only   when  an  internal  modem is NOT present  and  the  external  RS-232 
  1457. interface is.
  1458.  
  1459. 3.  The 128K PCjr only provides 90K of usable RAM (the rest is used by DOS, 
  1460. the monitor's buffers,  etc.).   Fortunately PCjr owners can get up to 256K 
  1461. of  RAM  with  "add-on" equipment (from IBM and others) in  order  to  have 
  1462. enough RAM for RBBS-PC to run in.
  1463.  
  1464. 4.   The standard PCjr supplied by IBM does not have a DMA and hence  can't 
  1465. do communications I/O simultaneously while doing disk I/O.
  1466.  
  1467. RBBS-PC beginning with version CPC13-1A will run an IBM PCjr providing that 
  1468. the PCjr
  1469.  
  1470. 1.  Has at least 256K of memory.
  1471.  
  1472. 2.  Disk  I/O does not occur simultaneously with communications I/O  (i.e. 
  1473. either you have a second disk drive with a DMA or you set BUFFERS=0).
  1474.  
  1475. 3.  One of the following three modem configurations are used:
  1476.  
  1477.      a.)  An internal PCjr modem with an external Hayes modem
  1478.           where the external Hayes modem is used for RBBS-PC.
  1479.  
  1480.      b.)  No internal PCjr modem with only an external Hayes modem
  1481.           used for RBBS-PC.  
  1482.  
  1483.      c.)  An internal PCjr modem with NO external Hayes modem used
  1484.           for RBBS-PC.
  1485.  
  1486. The  following discusses each of these three modem configurations supported 
  1487. by RBBS-PC with the PCjr.
  1488.  
  1489. Internal PCjr Modem with RBBS-PC Using External Hayes Modem
  1490. -----------------------------------------------------------
  1491. This  configuration means that the PCjr has both a COM1 (the internal  PCjr 
  1492. modem)  and a COM2 (the external Hayes modem).   RBBS-PC is set up  to  use 
  1493. COM2.   No  changes  are  required  to for RBBS-PC for this  type  of  PCjr 
  1494.  
  1495.                        Page 127 of 149
  1496. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1497.  
  1498. configuration.   CONFIG parameter 204 should be set to 0.   This will cause 
  1499. RBBS-PC to set the external Hayes modem into "auto-answer" mode and RBBS-PC 
  1500. will wait for carrier detect.   This is the way that RBBS-PC overcomes  the 
  1501. PCjr's  lack  of  "ring-indicator" signal for the  external  communications 
  1502. port.
  1503.  
  1504. No Internal PCjr Modem With RBBS-PC Using External Hayes Modem
  1505. --------------------------------------------------------------
  1506. This configuration means that the PCjr has only one RS-232 interface -- the 
  1507. external Hayes modem.  This must be opened as COM1 but use COM2's registers 
  1508. to  control  the communications port (believe it or not that's the way  IBM 
  1509. designed  the PCjr).   
  1510.  
  1511. CONFIG parameter 201 should be used to indicate  that COM1 is being used.
  1512.  
  1513. Unfortunately  the  current  BASIC  compilers (both  IBM's  Version  2  and 
  1514. Microsoft's  QuickBASIC) are incapable of handling a communication port  as 
  1515. logical device 1 (i.e. COM1) but on physical channel 2 (i.e. the interrupts 
  1516. are for COM2).
  1517.  
  1518. Should  this ever be fixed by either IBM or Microsoft,  CONFIG parameter 31 
  1519. should be used to indicate that no internal PCjr modem is installed.   This 
  1520. tells  CONFIG to make sure that COM2 registers are used to  manipulate  the 
  1521. PCjr's external communications port.
  1522.  
  1523. Until  this is fixed by the respective vendors,  the PCjr user will have to 
  1524. run  a  utility like COMSWAP that exchanges the pointers between  COM1  and 
  1525. COM2 within DOS.  
  1526.  
  1527. In either case,  CONFIG parameter 204 should be set to 0.   This will cause 
  1528. RBBS-PC to set the external Hayes modem into "auto-answer" mode and RBBS-PC 
  1529. will wait for carrier detect.   This is the way that RBBS-PC overcomes  the 
  1530. PCjr's  lack  of  "ring-indicator" signal for the  external  communications 
  1531. port.   Again  no  changes to RBBS-PC are required for this  type  of  PCjr 
  1532. configuration.
  1533.  
  1534. Only An Internal PCjr Modem for RBBS and NO External Hayes Modem
  1535. ----------------------------------------------------------------
  1536. For  this  type  of PCjr configuration,  you can take  the  CONFIG  default 
  1537. settings  for  the  communications  port (COM1) and specify  that  you  are 
  1538. running on a PCjr (parameter 36).  However, make sure that CONFIG parameter 
  1539. 208 specifies that the modem is to be opened at 300 baud.  Of course, RBBS-
  1540. PC  will  be  only able to answer the telephone at 300 baud  and  send  and 
  1541. receive data from users who log on with their communications parameters set 
  1542. at N/8/1 (i.e.  no parity, eight data bits, and one stop bit) since RBBS-PC 
  1543. is limited by the PCjr's own modem's limitations.  
  1544.  
  1545. RBBS-PC already has the modem commands for the PCjr's very strange internal 
  1546. modem  in the logic to answer the phone so no changes to the .DEF file  are 
  1547. required.
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.                        Page 128 of 149
  1561. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1562.  
  1563. APPENDIX J -- RBBS-PC Subscription Service
  1564. ------------------------------------------
  1565. It  seems that many people absolutely must be on the bleeding edge of RBBS-
  1566. PC  and demand each new version as soon as possible after it  is  released.  
  1567. Since downloading it from my RBBS-PC usually keeps my board busy 24 hours a 
  1568. day,  seven  days a week when each new version is released,  and I want  my 
  1569. board to be used to encourage and engage in discussions,  I offer the RBBS-
  1570. PC "Subscription Service" in order to free up my board.
  1571.  
  1572. Within the United States for $35 (prepaid by check or money order) you  can 
  1573. be guaranteed next day delivery of the very NEXT release of RBBS-PC just as 
  1574. I  mail it to the CPCUG Software Exchange.   The diskettes will be sent  to 
  1575. you  directly via Federal Express's "Courier-Pak" Overnight  Envelope.   In 
  1576. case you are wondering who gets the $35 it is allocated as follows:
  1577.  
  1578.    $ 25 -- Federal Express Charge for Courier-Pak
  1579.       8 -- CPCUG Software Exchange
  1580.       2 -- for the hassle the family puts up with and for rate changes
  1581.     ----
  1582.    $ 35 = Total Cost    Add: $5 for Alaska, Hawaii, and Puerto Rico
  1583.                              $11 for Europe, the Far East, and Australasia
  1584.  
  1585. Hopefully,  this  service  will only be used by a  very,  VERY  few!   Most 
  1586. releases  have a few fixes that get published within the first week or  two 
  1587. that  they are out.   Because of this everyone is advised to check back for 
  1588. fixes  after each  release goes out.
  1589.  
  1590. To  obtain  this  service for the NEXT release (it does NOT  apply  to  the 
  1591. current or previous releases) fill out the following form and send it along 
  1592. with  your  check  or money order in U.S.  funds (no  purchase  orders  are 
  1593. accepted and your canceled check is your only invoice).
  1594.  
  1595.       +--------------------------------------------------------------+
  1596.       | To: D. Thomas Mack            RBBS-PC Subscription Service to|
  1597.       |     10210 Oxfordshire Road    the NEXT release of RBBS-PC (if|
  1598.       |     Great Falls, Virginia     any, and none are implied or   |
  1599.       |                    22066      promised by this offer)        |
  1600.       |--------------------------------------------------------------|
  1601.       |Date Requested:                   Date Received:              |
  1602.       |--------------------------------------------------------------|
  1603.       |To (Recipient's Name):                                        |
  1604.       |--------------------------------------------------------------|
  1605.       |Recipient's Phone Number (required): (      )        -        |
  1606.       |--------------------------------------------------------------|
  1607.       |Exact Street Address (no P.O. Box or P.O. Zip Code accepted)  |
  1608.       |                                                              |
  1609.       |                                                              |
  1610.       |--------------------------------------------------------------|
  1611.       | City                            | State or Country           |
  1612.       |                                 |                            |
  1613.       |--------------------------------------------------------------|
  1614.       | Signature (required)            | ZIP Code for Street Address| 
  1615.       |                                 |                            |
  1616.       |                                 |                            |
  1617.       +--------------------------------------------------------------+
  1618.       Note: this is not a promise that there will be any new releases.
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.                        Page 129 of 149
  1626. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1627.  
  1628. APPENDIX K -- RBBS-PC National Listing Service     
  1629. ----------------------------------------------
  1630. Frequent inquires are made about a "national" list of RBBS-PC's.   In order 
  1631. to help SYSOP's (and potential SYSOP's) everywhere find configurations that 
  1632. most closely match their own,  with the introduction of RBBS-PC CPC12-5B an 
  1633. additional  public service was inaugurated to keep an "ACCURATE"  telephone 
  1634. listing  of all publicly available RBBS-PC systems.   The success  of  this 
  1635. endeavor  depends  on you.   If you would like a chance to stand up and  be 
  1636. recognized, please fill out and return the following form:
  1637.  
  1638.       +--------------------------------------------------------------+
  1639.       | To: Jon Martin                   RBBS-PC National Listing    |
  1640.       |     4396 N. Prairie Willow Ct.   Service (if any, and none is|
  1641.       |     Concord, California          implied or promised by this |
  1642.       |                    94521         offer)                      |
  1643.       |--------------------------------------------------------------|
  1644.       |Please  REMOVE    CHANGE    ADD   Date Requested:             |
  1645.       |(circle one) to your Listing.     Date Action Taken:          |
  1646.       |--------------------------------------------------------------|
  1647.       |SYSOP's Name:                                                 |
  1648.       |--------------------------------------------------------------|
  1649.       |DATA Phone Number  (required): (      )        -              |
  1650.       |VOICE Phone Number (optional): (      )        -              |
  1651.       |Do NOT publish my VOICE number (please check) _____           |
  1652.       |--------------------------------------------------------------|
  1653.       |Exact Street Address (no P.O. Box or P.O. Zip Code accepted)  |
  1654.       |(Address will not be published. For my information only.)     |
  1655.       |                                                              |
  1656.       |--------------------------------------------------------------|
  1657.       | City                            | State                      |
  1658.       |                                 |                            |
  1659.       |--------------------------------------------------------------|
  1660.       | Signature (required):           | ZIP Code for Street Address| 
  1661.       |                                 |                            |
  1662.       |                                 |                            |
  1663.       +--------------------------------------------------------------+
  1664.       | Detailed System Information                                  |
  1665.       | RBBS Name          :_________________________________________|
  1666.       | Operating Hrs.(EST):_________________________________________|
  1667.       | Specialty of RBBS  :_________________________________________|
  1668.       | Baud Rates         :_________________________________________|
  1669.       | Number of Nodes    :_________________________________________|
  1670.       | Modem Vendor/Model :_________________________________________|
  1671.       | Computer Type      :_________________________________________|
  1672.       | Memory             :_________________________________________|
  1673.       | Multi-Function Card:_________________________________________|
  1674.       | Monitor Vendor/Type:_________________________________________|
  1675.       | Disk Storage       :_________________________________________|
  1676.       | Special Cards      :_________________________________________|
  1677.       | DOS Version        :_________________________________________|
  1678.       | Related Software   :_________________________________________|
  1679.       |--------------------------------------------------------------|
  1680.       | Additional information/comments:                             |
  1681.       |                                                              |
  1682.       |                                                              |
  1683.       +--------------------------------------------------------------+
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.                        Page 130 of 149
  1691. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1692.  
  1693. APPENDIX L -- RBBS-PC and The Ark-Paradyne Modem Switch Settings
  1694. ----------------------------------------------------------------
  1695. IMPORTANT:   This information is NEW and needed for RBBS-PC versions CPC15-
  1696.              1A and greater.
  1697.  
  1698. With the current CONFIG.EXE (Ver 3.02) and RBBS-PC.EXE (Ver 15.1) programs, 
  1699. the  S0 register is set to reflect the answer mode.  S0=255 is for a  ring-
  1700. back system,  S0=254 is for answer on a specified number of rings, and S0=1 
  1701. to  "auto-answer".   Unfortunately  the first two won't work with  the  ARK 
  1702. modem. 
  1703.  
  1704. You  must  change the modem command contained in RBBSxPC.DEF (where "x"  is 
  1705. the  node  number  for  multiple  machines or  a  "-"  for  a  single  node 
  1706. application.)   You  will find the command on the second line near the  end 
  1707. and reads as follows: ATM0Q1S2=255S10=30E0S0=0.  The only change is to make 
  1708. S0=0.  Leave all other commands as the original. (See the section on "Hayes 
  1709. Command's  considerations"  for more on this).   With this version  of  the 
  1710. CONFIG program, you only need to change this once.  Further usage of CONFIG
  1711. will not alter this again. 
  1712.  
  1713. Ark Modems can't accept any commands if the "AA" (auto answer) light is  on 
  1714. and the phone is ringing until the number of rings equals the number set in 
  1715. the S0 register.  RBBS-PC expects to issue a "modem answer command" when it 
  1716. detects  a ring and is ready.   If the Ark modem can't accept this command, 
  1717. it won't answer the phone.   You therefore cannot use the ring-back  system 
  1718. or answer on a ring greater than 1. 
  1719.  
  1720. Another  interesting  difference  is that when the modem is in  the  "quiet 
  1721. mode"  (Q1) NO results will be sent to the computer.   If we inquire as  to 
  1722. the number of rings received, it responds with nothing. 
  1723.  
  1724. Despite all of the above, the modem does work reliably to answer on 1 ring. 
  1725.  
  1726. The following is recommended for the ARK 24K Modem:
  1727.  
  1728.         Switch 1 UUUDDUUD     (where U = Up = On and  D = Down = Off)
  1729.         Switch 2 UDDDDUDD
  1730.         Switch 3 DUUDUUUU
  1731.  
  1732.         MODEM         DTE/CLOCK        FLOW        BUSY       DTR
  1733.         JUMPERS         E8-E9         E15-E16      E4-E7     E11-E14
  1734.  
  1735.         The  ARK  24K Modem can't use the options such as doors  or  remote 
  1736.         Sysop dropping to DOS.  The modem has no time delay from MCR to DTR 
  1737.         to drop of carrier.  The ARK 24K PLUS has solved this problem.
  1738.  
  1739. The following is for the ARK 24K PLUS Modem:
  1740.  
  1741.         This modem has additional features and has solved the time delay 
  1742.         problem mentioned above.
  1743.  
  1744.         Use all the factory switch and jumper settings except:
  1745.         Switch 1, position 8 should be down  -  (Hayes mode)
  1746.         Switch 2, position 1 should be up    -  (Auto answer off) 
  1747.         Switch 3, positions 6,7,8 should all be down - ( "AT" Auto Baud)
  1748.         It is also recommended that the speaker be unplugged to avoid 
  1749.         noise.
  1750.  
  1751.         This  Modem CAN be used for Doors and remote SYSOP to DOS.   It has 
  1752.         been  tested  with  this and previous  versions  of  RBBS-PC.   The 
  1753.         Program  must be compiled with the patches applied to the  compiler 
  1754.  
  1755.                        Page 131 of 149
  1756. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1757.  
  1758.         as  suggested  by Jeff Porter.   (See the Appendix in  the  RBBS-PC 
  1759.         documentation  entitled  "RBBS-PC and BASIC  Compiler  Patches  for 
  1760.         "Doors").
  1761.  
  1762. Make the following changes with your Config program for either modems:
  1763.  
  1764.         Option 204  Number of rings to wait before answering           1
  1765.                     Do you want ringback? (YES/NO)                    NO
  1766.  
  1767.         Option 207  Issue commands between rings                     YES
  1768.  
  1769.         Option 208  Baud rate to initially open modem at             2400
  1770.  
  1771. The following modems were tested:  24K - ROM versions 2.1 & 2.21 & 2.23 24K 
  1772. PLUS - ROM version 3.51.  If you have questions, please contact:
  1773.  
  1774.     Dave Hacquebord,
  1775.     Sunshine Bulletin board,
  1776.     Tampa, Fl.
  1777.     Voice: 1-813-884-4267
  1778.     Data:  1-813-887-3984
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.                        Page 132 of 149
  1821. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1822.  
  1823. APPENDIX M -- RBBS-PC And the Anchor Signalman Express (MK12)
  1824. -------------------------------------------------------------
  1825. The following are the switch and jumper settings for the Modem.
  1826.  
  1827.     Switch 1 = Off
  1828.     Switch 2 = Off
  1829.     Switch 3 = On
  1830.     Switch 4 = On
  1831.     Switch 5 = On
  1832.     Switch 6 = On
  1833.     Switch 7 = On
  1834.     Switch 8 = On
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.                        Page 133 of 149
  1886. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1887.  
  1888. APPENDIX N -- RBBS-PC and the Everex 2400 modem switch settings
  1889. ---------------------------------------------------------------
  1890. The Everex Evercom 24 is an internal 2400 BAUD modem.  It has 4 switches on 
  1891. the mounting bracket.  If you are using COM1 then all switches should be in 
  1892. the OFF position.  If you are using COM2 see the Installation Guide for the 
  1893. correct switch settings.
  1894.  
  1895. The  Evercom does not have non-volatile memory like the Hayes 2400 and  the 
  1896. ATZ command will reset the modem to factory defaults.  It is therefore  not 
  1897. necessary  to use CONFIG to set the Hayes 2400 defaults.  Because  of  this 
  1898. major  difference  you must use CONFIG option 205 to  change  the  standard 
  1899. modem defaults.  Select parameters 2 and 5 and enter the command just as it 
  1900. is but with the addition of &D2.  This will instruct RBBS-PC to add &D2  to 
  1901. the  standard  modem initialization string each time the  system  recycles.  
  1902. Please  note that although the Evercom 24 manual indicates that &D2 is  the 
  1903. default that this is a misprint in their manual and &D0 is the real default 
  1904. for the &D command.
  1905.  
  1906. NOTE:   Make sure that &D2 is inserted immediately following the "AT"  when 
  1907. modifying parameters 2 and 5 of option 205!
  1908.  
  1909. A special thanks goes to Carl Margolis (Everex) for his help in identifying 
  1910. these restrictions so that Evercom 24 users can now reliably use RBBS-PC.
  1911.  
  1912. Do not select option 205 if you are using an Everex 1200 BAUD modem.
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.                        Page 134 of 149
  1951. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  1952.  
  1953. APPENDIX O -- RBBS-PC and the Prometheus 2400G modem switch settings
  1954. --------------------------------------------------------------------
  1955. Underneath  the  2400G is a bank of 10 switches that set certain  operating 
  1956. characteristics of the ProModem 2400G.  Only 3 (1,2 & 10) of these switches 
  1957. are  currently implemented.   The others are reserved for future expansion.  
  1958. All  three of these switches must be in the off position for the  2400G  to 
  1959. function properly with RBBS-PC.
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.                        Page 135 of 149
  2016. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2017.  
  2018. APPENDIX P -- RBBS-PC and The US Robotics Modems Switch Settings
  2019. ----------------------------------------------------------------
  2020. Both  the  US Robotics COURIER 2400 and COURIER HST modem  switch  settings 
  2021. should be as follows:
  2022.  
  2023.  1 2 3 4 5 6 7 8 9 10   gang switch
  2024.  U U U D D U U D D D      UUU        (Where U = Up = Off and  D = Down = On )
  2025.  
  2026. You  can have parameter 208 "Modem rate" in CONFIG.EXE set to whatever  you 
  2027. want.   Set  this  to the maximum speed of the modem (2400 for the  COURIER 
  2028. 2400 and 9600 for the COURIER HST.
  2029.  
  2030. The US Robotics COURIER 2400 and COURIER HST modems are compatible with all 
  2031. of  the features of RBBS-PC such as "Doors",  Remote SYSOP to DOS  and  the 
  2032. RBBS version of MNP Protocol.
  2033.  
  2034. The following LED lights should be "ON" while waiting for a call with Option
  2035. 38 set to "2400" and parameter 204 set to "1" in CONFIG.EXE:
  2036.  
  2037.         HS              High Speed Communications
  2038.         TR              Terminal Ready
  2039.         MR              Modem Ready
  2040.  
  2041.                 (If you have parameter 204 of CONFIG.EXE set to "1" then...
  2042.         AA              Auto Answer
  2043.                                         ...will be lit)
  2044.  
  2045. The COURIER HST modem has firmware that should be set as follows:
  2046.  
  2047.          &F  = Load factory settings into random access memory
  2048.  
  2049. Next issue:  AT&A1&B0&H1&I0&M4&N0&R2&S1&3   (SEE NOTE FOR &R2)
  2050.  
  2051.          &A1 = Display /ARQ result codes
  2052.          &B0 = DTE/DCE rate follows connection rate
  2053.          &H1 = Hardware (CTS, Pin 5) flow control
  2054.          &I0 = Flow control disabled
  2055.          &M4 = Normal if ARQ connection cannot be made
  2056.          &N0 = Negotiate highest possible link rate with remote modem
  2057.          &R2 = Received data output to terminal on RTS high (Pin 4)
  2058.                    NOTE: If your HST 9600 modem responds 961 or
  2059.                          greater to the ATI command, substitute 
  2060.                          &R1 for &R2.
  2061.          &S1 = Modem controls DSR
  2062.          &W  = Write these settings to nonvolatile random access memory
  2063.  
  2064. This  will  enable the COURIER HST to use the built in MNP protocol at  the 
  2065. highest possible baud rate that can be negotiated with the calling modem -- 
  2066. providing the calling modem is also a COURIER HST modem.
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.                        Page 136 of 149
  2081. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2082.  
  2083. APPENDIX Q -- RBBS-PC and the FASTCOMM 2496 Turbo Modem
  2084. -------------------------------------------------------
  2085. The  FASTCOMM  2496 9600 and 19200 baud modems work  with  RBBS-PC  without 
  2086. modifications to RBBS.
  2087.  
  2088. However  some  unusual quirks were noted with the  FASTCOMM  hardware.  The 
  2089. modems  would  NOT  follow terminal baud rate in the command  mode  if  the 
  2090. transition was from 300 to 9600 (or 19,200) baud.   Therefore,  if  RBBS-PC 
  2091. were  configured to initially operate at 9600 baud,  it would not  properly 
  2092. reset after a 300 baud call.   It would,  however, follow all other changes 
  2093. within  the range of RBBS-PC.   If it was configured to initially answer at 
  2094. both  2400  and  4800  baud  and it  worked  equally  well  with  calls  at 
  2095. 300,1200,2400,4800,  9600  and 19200 baud for both cases.    Therefore  set 
  2096. CONFIG option 208 to 2400 baud!
  2097.  
  2098. It  is interesting to note that the calling terminal speed and the  RBBS-PC 
  2099. speed  need not be the same when the FC2496 is operating at speeds  greater 
  2100. than  2400  baud.   This takes a little time to get used to since  previous 
  2101. experience  is  that  both  calling  and  answering  computer  need  to  be 
  2102. communicating at the same speed.   This is still the case at 2400 baud  and 
  2103. below.   It  is recommended that CONFIG option 204 be set to answer on  one 
  2104. ring!
  2105.  
  2106. Specific instructions for modem set up are as follows:
  2107.  
  2108. 1.  Use the BASIC program SETFC.BAS below, set the default modem settings.
  2109.     This  can  also be done manually from a  communications  program.   The 
  2110.     speed that is used to establish the default modem settings is the speed 
  2111.     to which the modem defaults on reset and power on.  It is probably good 
  2112.     practice  to  do this setup at the same speed that RBBS-PC uses as  its 
  2113.     default speed.  In any case do not do it at 9600 Baud.
  2114.  
  2115. 2.  Tell RBBS-PC to open the modem at 2400 baud.
  2116.  
  2117. 3.  Edit RBBS-PC.DEF to replace the "ATZ" in the last line with "AAAAATZ".
  2118.     This string of A's resets the modem to the terminal baud rate so it can 
  2119.     respond to the other commands.   If you want to experiment,  watch  the 
  2120.     modem  respond  to  you  when you change baud rates  in  your  favorite 
  2121.     communications  program.    This  modem  function  is  referred  to  as 
  2122.     "autobaud".   You  will  not see the first "A" and  sometimes  not  the 
  2123.     second.  You should always see the third "A".  Others have advised that 
  2124.     their modems would "autobaud" from 300 to 9600 baud.  Mine would not.
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.                        Page 137 of 149
  2146. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2147.  
  2148. 20   'title: 'SETFC.BAS, Copyright 1986 by H. Stanley Staten 
  2149. 30   ' 
  2150. 40   'This program was written to automatically set the  
  2151. 50   'FASTCOMM 2496 TURBO modem internal nonvolatile memory switches. 
  2152. 60   ' 
  2153. 70   '  Copyright (C) 1986 by  
  2154. 80   '  H. Stanley Staten 
  2155. 90   '  12012 Cheyenne Rd. 
  2156. 100  '  Gaithersburg, MD 20878-2012 
  2157. 110  ' 
  2158. 120      DEFINT A-Z 
  2159. 130      CLEAR 
  2160. 140  ' 
  2161. 160  ' ********************************************************************
  2162. 170  ' * ROUTINE TO INITIALIZE THE FASTCOMM 2496 MODEM'S FIRMWARE         * 
  2163. 180  ' ******************************************************************** 
  2164. 190  '
  2165. 200  COM.PORT$ = "COM1"                 'Change to "COM2:" for COM2: use 
  2166. 210  PRINT "Setting FASTCOMM 2496 firmware for RBBS-PC on " + COM.PORT$ 
  2167. 230  ' 
  2168. 240  ' ********************************************************************* 
  2169. 250  ' *                                                                   * 
  2170. 260  ' * INITIALIZE THE FASTCOMM 2496 VOLATILE MEMORY.  SET THE FOLLOWING: * 
  2171. 270  ' *                                                                   * 
  2172. 280  ' *         AT#F        = Set to factory defaults                     * 
  2173. 290  ' *         AT#LCN      = Set carrier detect to normal                * 
  2174. 300  ' *         AT#LDN      = Set DTR to normal                           * 
  2175. 310  ' *         AT#LX2      = Set for XON/XOFF flow control               * 
  2176. 320  ' *         ATS7=30     = Set wait for answer tone to 30 seconds      * 
  2177. 330  ' *         ATM0        = Turn speaker off                            * 
  2178. 340  ' *         ATV1        = Issue long form of results codes            * 
  2179. 350  ' *         ATX2        = Full result messages                        * 
  2180. 360  ' *         ATS57=1     = Hang up and reset automatically executed    * 
  2181. 370  ' *         ATE0        = Do not echo modem commands back to the PC   * 
  2182. 380  ' *         ATS10=10    = To cause to reset on loss of carrier faster * 
  2183. 390  ' *         ATS58=3     = Force a 19200 Baud call to 9600 Baud locally* 
  2184. 405  ' *         ATS22=46    = Suggested by the vendor                     * 
  2185. 406  ' *         ATS0=0      = Don't answer until told to.                 * 
  2186. 410  ' *         AT#W        = Write settings to non volatile memory       * 
  2187. 420  ' *                                                                   * 
  2188. 430  ' ********************************************************************* 
  2189. 440  ' 
  2190. 450  OPEN COM.PORT$ + ":2400,N,8,1,RS,CD,DS" AS #3  
  2191. 470  PRINT #3,"AAAAAAAT" 
  2192. 480  PRINT #3,"AT#F" 
  2193. 490  PRINT #3,"AT#LCN" 
  2194. 500  PRINT #3,"AT#LDN" 
  2195. 510  PRINT #3,"AT#LX2" 
  2196. 520  PRINT #3,"ATS7=30" 
  2197. 530  PRINT #3,"ATM0" 
  2198. 540  PRINT #3,"ATV1" 
  2199. 550  PRINT #3,"ATX2" 
  2200. 560  PRINT #3,"ATS57=1" 
  2201. 570  PRINT #3,"ATE0" 
  2202. 580  PRINT #3,"ATS10=10" 
  2203. 590  PRINT #3,"ATS58=3" 
  2204. 595  PRINT #3,"ATS22=46" 
  2205. 596  PRINT #3,"ATS0=0" 
  2206. 600  PRINT #3,"AT#W" 
  2207. 620  SYSTEM 
  2208.  
  2209.  
  2210.                        Page 138 of 149
  2211. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2212.  
  2213. APPENDIX R -- RBBS-PC And The AT's RS-232 Cable
  2214. -----------------------------------------------
  2215. The RS-232 serial connector is different for the AT than the PC or XT.  The 
  2216. AT  uses  a  connector  called a DB-9,  which is a  9  pin  connector.   An 
  2217. alternative to buying the AT serial cable from IBM,  ($65-$80),  is to make 
  2218. your own.  A ten-wire cable  can be purchased from any local computer store 
  2219. for about $.80 per foot,  and the DB-9 and RS-232 connectors with hoods can 
  2220. be purchased from Radio Shack.   The total cost should be about $12.00.   A 
  2221. modem  hooked up to the AT will work fine with the 9 pins connected in  all 
  2222. terminal functions, except for auto-answer applications such as RBBS-PC.
  2223.  
  2224. RBBS-PC requires pin 1 from the modem to be hooked up to the chassis ground 
  2225. on the AT or it can't answer the phone.   There are two ways to hook up the 
  2226. ground wire on the computer end.   The first way is to use a metal hood  to 
  2227. cover  the DB-9 connector.   Wrap a bare wire that is attached to pin 1  of 
  2228. the RS-232 connector around the cable on the DB-9 end.  When the metal hood 
  2229. is  screwed down over the cable a connection will be made.   When  using  a 
  2230. plastic  DB-9 hood simply solder a wire from pin 1 on the RS-232 end to the 
  2231. metal  body of the DB-9 connector.   Since documentation is scarce for  the 
  2232. AT,  following figure lists the necessary pin connections for those wanting 
  2233. to make their own AT RS-232 cable.
  2234.  
  2235. DB-9 (Computer End)       RS-232 (Modem End)
  2236. ===================       ==================
  2237.  
  2238.      GROUND --------------------- 1
  2239.        1    --------------------- 8
  2240.        2    --------------------- 3
  2241.        3    --------------------- 2
  2242.        4    ---------------------20
  2243.        5    --------------------- 7
  2244.        6    --------------------- 6
  2245.        7    --------------------- 4
  2246.        8    --------------------- 5
  2247.        9    ---------------------22
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.                        Page 139 of 149
  2276. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2277.  
  2278. APPENDIX S -- RBBS-PC And BASIC Compiler Patches for "Doors"
  2279. ------------------------------------------------------------
  2280. Both the IBM Version 2.0 BASIC compiler and Microsoft's QuickBASIC compiler 
  2281. offers  a lot of needed features to compiled BASIC programs.   Regrettably, 
  2282. they also included  a few "problems."
  2283.  
  2284. For  those  who use RBBS-PC to "exit" to DOS (either via a "door" or  as  a 
  2285. remote  SYSOP),  the code generated by the new BASIC compilers would "help" 
  2286. you  by dropping carrier when you chose to return to RBBS-PC from DOS or  a 
  2287. "door."  Help like this RBBS-PC didn't need.
  2288.  
  2289. Jeff  Porter was the first to document a six step "patch" to the IBM  BASIC 
  2290. Version  2.0  compiler  and  to BCOM10.LIB of the  QuickBASIC  Version  1.0 
  2291. compiler that corrects this problem within the logic of the code  generated 
  2292. by the QuickBASIC compiler.  Subsequently, Rod Bowman of "The PC Spectrum", 
  2293. (714) 945-2612,,  subsequently,  provided similar patches to the BCOM20.LIB 
  2294. of the QuickBASIC Version 2.0 and 2.01 compiler.
  2295.  
  2296. As I stated earlier:
  2297.  
  2298.      "RBBS-PC continues to grow and expand because hundreds 
  2299.       (and quite possibly thousands) of SYSOP's spend the 
  2300.       time and trouble not only to modify RBBS-PC to meet
  2301.       their needs, but also to share these modifications 
  2302.       with others."
  2303.  
  2304. Please note that nowhere in the following documentation does Jeff  describe 
  2305. the  hours and hours it must have taken him to find the fix to the problem.  
  2306. Nowhere does he ask anything for himself for his efforts.   As I have  said 
  2307. so often "I am very proud of the company that RBBS-PC keeps."
  2308.  
  2309. 1.  Jeff Porter's DTR Patches for the QuickBASIC Version 1.x Compilers
  2310. ----------------------------------------------------------------------
  2311. As  anyone  who has tried to write any programs that use  COM1:   or  COM2: 
  2312. with  MicroSoft QuickBasic knows,  the DTR modem control line  is   dropped 
  2313. every  time a a communication file is opened or closed.   I don't know  why 
  2314. MicroSoft drops the DTR line all the time;  all I know  is that it can be a 
  2315. serious problem with programs  such  as RBBS-PC.    Therefore,   I  present 
  2316. the following patch to fix  the problem.  
  2317.  
  2318. This    patch   modifies  the  serial  communication   routines   in    the 
  2319. BCOM10.LIB  file so that the DTR line will be not be turned off.   Here  is  
  2320. a  transcript  of  a  patch  session.
  2321.  
  2322. C>copy bcom10.lib bcom10bk.lib
  2323.       1 File(s) copied
  2324.  
  2325. C>debug bcom10.lib
  2326. -d540 L 10
  2327. xxxx:0540  0B D2 75 04 B5 FF EB 34-FA 83 C2 04 32 C0 EE EB   ..u....4....2...
  2328. -d830 L 10
  2329. xxxx:0830  14 8B FA E8 00 00 83 C2-04 32 C0 EB 00 EE C7 47   .........2.....G
  2330. -a54c
  2331. xxxx:054C mov al, 1
  2332. xxxx:054E 
  2333. -a839
  2334. xxxx:0839 mov al, 1
  2335. xxxx:083B 
  2336. -w
  2337. Writing 25C00 bytes
  2338. -q
  2339.  
  2340.                        Page 140 of 149
  2341. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2342.  
  2343. 1.   Make a backup copy of the BCOM10.LIB file, just in case.
  2344.  
  2345. 2.   Run debug and load BCOM10.LIB
  2346.  
  2347.      C>debug bcom10.lib
  2348.  
  2349. 3.   Display  the  following sections of data and see  that  they 
  2350.      match.   This is to insure that you are patching the correct 
  2351.      version of the library.
  2352.  
  2353. -d540 L 10
  2354. xxxx:0540  0B D2 75 04 B5 FF EB 34-FA 83 C2 04 32 C0 EE EB   ..u....4....2...
  2355. -d830 L 10
  2356. xxxx:0830  14 8B FA E8 00 00 83 C2-04 32 C0 EB 00 EE C7 47   .........2.....G
  2357.  
  2358. 4.   If  debug shows the same information as listed  above,  then 
  2359.      you may continue with the patching process.   If not,  go to 
  2360.      the section 2 of this appendix.
  2361.  
  2362. 5.   Do the following:
  2363.  
  2364.      -a 54c
  2365.      xxxx:054C mov al, 1
  2366.      xxxx:054E
  2367.      -a 839
  2368.      xxxx:0839 mov al, 1
  2369.      xxxx:083B
  2370.  
  2371. 6.   Now write the file back to disk and quit debug.   The  patch 
  2372.      is complete.
  2373.  
  2374.      -w
  2375.      Writing         bytes
  2376.      -q
  2377.  
  2378. 2.  Jeff Porter's DTR Patches for the IBM BASIC Version 2.0 Compiler
  2379. --------------------------------------------------------------------
  2380. If  you  do  not  have  MicroSoft QuickBasic or  if  you  have  a different  
  2381. version than I,   you can probably still  perform  this patch.    You  will  
  2382. have  to find the correct locations to  patch.   The  addresses  054C   and  
  2383. 0839 were  found  with  the  following procedure:
  2384.  
  2385. 1.   Search  for the byte sequence 83 C2 04 32 C0 in the  library 
  2386.      file.   If you are lucky,  debug will find it in exactly two 
  2387.      places.
  2388.      
  2389.      (for example:)
  2390.      -s 100 fff0 83 C2 04 32 C0
  2391.  
  2392. 2.   Unassemble   the  addresses  you  found.    The  first   two 
  2393.      instructions will be
  2394.  
  2395.           ADD  DX, +04
  2396.           XOR  AL, AL
  2397.  
  2398.      Within the next few instructions should be
  2399.  
  2400.           OUT  DX, AL
  2401.  
  2402. 3.   If everything has gone correctly so far, just change the
  2403.  
  2404.  
  2405.                        Page 141 of 149
  2406. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2407.  
  2408.           XOR  AL, AL
  2409.  
  2410.      to a
  2411.  
  2412.           MOV AL, 1
  2413.  
  2414. 4.   Perform this change in both places where the 
  2415.  
  2416.           XOR AL, AL          
  2417.  
  2418.      instruction was found.
  2419.  
  2420.  
  2421. 5.   Write the updated file.
  2422.  
  2423. 3.  Rod Bowman's DTR Patch for the QuickBASIC Version 2.0 Compiler
  2424. ------------------------------------------------------------------
  2425. Rod Bowman,  of "The 'PC' Spectrum" (tm) whose RBBS-PC data line number  is 
  2426. (714)  945-2612 provided the following patch for the QuickBASIC version 2.0 
  2427. compiler library.
  2428.  
  2429. This    patch   modifies  the  serial  communication   routines   in    the 
  2430. BCOM20.LIB  file for QuickBASIC version 2.0 so that the  DTR  line  will be 
  2431. not  be  turned  off when running another program with the RUN  Command  of 
  2432. BASIC!   Here  is  a  transcript  of  a  patch  session.
  2433.  
  2434. A>copy bcom20.lib bcom20bk.lib
  2435.       1 File(s) copied
  2436.  
  2437. A>debug bcom20.lib
  2438. -dD368 L 5
  2439. xxxx:D368  83 C2 04 32 C0                          ..2...
  2440. -aD36B
  2441. xxxx:D36B mov al, 1
  2442. xxxx:D36D 
  2443. -w
  2444. Writing 2B000 bytes
  2445. -q
  2446.  
  2447. 1.   Make a backup copy of the BCOM20.LIB file, just in case.
  2448.  
  2449. 2.   Run debug and load BCOM20.LIB
  2450.  
  2451.      A>debug bcom20.lib
  2452.  
  2453. 3.   Display  the  following sections of data and see  that  they
  2454.      match.   This is to insure that you are patching the correct
  2455.      version of the library.
  2456.  
  2457. -dD368 L 5
  2458. xxxx:D368  83 C2 04 32 C0 EE EB                    ..2...
  2459.  
  2460. 4.   If  debug shows the same information as listed  above,  then
  2461.      you may continue with the patching process.   If not,  go to
  2462.      the section 2 of this appendix.
  2463.  
  2464. 5.   Do the following:
  2465.  
  2466.      -a D36B
  2467.      xxxx:D36B mov al, 1
  2468.      xxxx:D36D
  2469.  
  2470.                        Page 142 of 149
  2471. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2472.  
  2473. 6.   Now write the file back to disk and quit debug.   The  patch
  2474.      is complete.
  2475.  
  2476.      -w
  2477.      Writing         bytes
  2478.      -q
  2479.  
  2480. 4.  Rod Bowman's DTR Patch for the QuickBASIC Version 2.01 Compiler
  2481. -------------------------------------------------------------------
  2482. Rod Bowman,  of "The 'PC' Spectrum" (tm) whose RBBS-PC data line number  is 
  2483. (714) 945-2612 provided the following patch for the QuickBASIC version 2.01
  2484. compiler library.
  2485.  
  2486. This    patch   modifies  the  serial  communication   routines   in    the 
  2487. BCOM20.LIB  of QuickBASIC version 2.01 file so that the  DTR  line  will be 
  2488. not  be  turned  off when running another program with the RUN  Command  of 
  2489. BASIC!  Here  is  a  transcript  of  a  patch  session.
  2490.  
  2491. A>copy bcom20.lib bcom20bk.lib
  2492.       1 File(s) copied
  2493.  
  2494. A>debug bcom20.lib
  2495. -dD858 L 5
  2496. xxxx:D858  83 C2 04 32 C0
  2497. -aD85B
  2498. xxxx:D85B mov al, 1
  2499. xxxx:D85D 
  2500. -w
  2501. Writing xxxxx bytes
  2502. -q
  2503.  
  2504.  
  2505. 1.   Make a backup copy of the BCOM20.LIB file, just in case.
  2506.  
  2507. 2.   Run debug and load BCOM20.LIB
  2508.      A>debug bcom20.lib
  2509. 3.   Display  the  following sections of data and see  that  they
  2510.      match.   This is to insure that you are patching the correct
  2511.      version of the library.
  2512.  
  2513. -dD858 L 5
  2514. xxxx:D858  83 C2 04 32 C0
  2515.  
  2516. 4.   If  debug shows the same information as listed  above,  then
  2517.      you may continue with the patching process.   If not,  go to
  2518.      the section 2 of this appendix.
  2519.  
  2520. 5.   Do the following:
  2521.  
  2522.      -a D85B
  2523.      xxxx:D85B mov al, 1
  2524.      xxxx:D85D
  2525.  
  2526. 6.   Now write the file back to disk and quit debug.   The  patch
  2527.      is complete.
  2528.  
  2529.      -w
  2530.      Writing  xxxxx  bytes
  2531.      -q
  2532.  
  2533.  
  2534.  
  2535.                        Page 143 of 149
  2536. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2537.  
  2538. 5.  Ken Goosens' DTR Patch for the QuickBASIC Version 3.0 Compiler
  2539. ------------------------------------------------------------------
  2540. Ken  Goosens  provided the following patch for the QuickBASIC  version  3.0 
  2541. compiler library.
  2542.  
  2543. This    patch   modifies  the  serial  communication   routines   in    the 
  2544. BCOM30.LIB  of QuickBASIC version 3.0 file so that the  DTR  line  will  be 
  2545. not  be  turned off when running another program with the  RUN  Command  of 
  2546. BASIC!  Here  is  a  transcript  of  a  patch  session.
  2547.  
  2548. A>copy bcom30.lib bcom30bk.lib
  2549.       1 File(s) copied
  2550.  
  2551. A>debug bcom30.lib
  2552. -dDAB8 L 5
  2553. xxxx:DAB8  83 C2 04 32 C0
  2554. -aDAB8
  2555. xxxx:DAB8 mov al, 1
  2556. xxxx:DAB8 
  2557. -w
  2558. Writing xxxxx bytes
  2559. -q
  2560.  
  2561.  
  2562. 1.   Make a backup copy of the BCOM30.LIB file, just in case.
  2563.  
  2564. 2.   Run debug and load BCOM30.LIB
  2565.      A>debug bcom30.lib
  2566.  
  2567. 3.   Display  the  following sections of data and see  that  they
  2568.      match.   This is to insure that you are patching the correct
  2569.      version of the library.
  2570.  
  2571. -dDAB8 L 5
  2572. xxxx:DAB8  83 C2 04 32 C0
  2573.  
  2574. 4.   If  debug shows the same information as listed  above,  then
  2575.      you may continue with the patching process.   If not,  go to
  2576.      the section 2 of this appendix.
  2577.  
  2578. 5.   Do the following:
  2579.  
  2580.      -a DAB8
  2581.      xxxx:DAB8 mov al, 1
  2582.      xxxx:DAB8
  2583.  
  2584. 6.   Now write the file back to disk and quit debug.   The  patch
  2585.      is complete.
  2586.  
  2587.      -w
  2588.      Writing  xxxxx  bytes
  2589.      -q
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.                        Page 144 of 149
  2601. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2602.  
  2603. APPENDIX T -- Using RBBS-PC to access Data Bases Remotely
  2604. ---------------------------------------------------------
  2605. 1.  The Need for Data Base Services
  2606.  
  2607. A  feature  that  has been long missing from PC  based  host  communication 
  2608. systems is the ability for SYSOPs to install customized data bases and  let 
  2609. callers run true interactive data base queries against them.  Because  data 
  2610. base management is a major programming task, the most promising way to  add 
  2611. data base services is to uses RBBS-PC's innovative "door" mechanism to exit 
  2612. RBBS-PC  and  have the remote user enter an existing data  base  management 
  2613. program.
  2614.  
  2615. "Door"ing to a data base management program, however, is not as easy as one 
  2616. might  hope.   The  major  problems  stem from  the  fact  that  data  base 
  2617. management programs are never designed to work in this environment.
  2618.  
  2619. o   Most programs write to the hardware for speed rather than use
  2620.     bios calls, causing the "screen" output to appear on the host
  2621.     terminal rather than on the caller's terminal.
  2622.  
  2623. o   Data base programs do not monitor for carrier.  If carrier
  2624.     drops they simply sit forever waiting for input rather than
  2625.     terminating.
  2626.  
  2627. o   Most use "full screen" rather than "line at a time", which
  2628.     usually does not work properly on a remote terminal.
  2629.  
  2630. o   Security.  Most data base programs have no way to limit what
  2631.     a user can do.  For example, they do not have a read-only mode,
  2632.     or the ability to restrict a user to specific files or fields.
  2633.     Many let the user issue dos commands inside them, which gives
  2634.     to call too much power.
  2635.  
  2636. o   Difficulty in learning to use.  A caller can hardly be expected
  2637.     to know how to use a data base.   Hence it must be possible to
  2638.     simplify and control the user interface inside the data base
  2639.     package.
  2640.  
  2641. However, one database package that is able to be used as a "door" is ORACLE 
  2642. from Oracle Corporation at One Oracle Parkway in Belmont, California 94002.  
  2643. Their number is (415) 598-8000.
  2644.  
  2645. The  SQLBBS  is  a  specialized  bulletin  board  system  specializing   in 
  2646. supporting  relational  data  base managers and making  the  power  of  SQL 
  2647. available to callers.
  2648.  
  2649. SQLBBS  uses an RBBS door to get into ORACLE.  ORACLE is a  very  promising 
  2650. solution  to providing remote data base services.  It addresses  the  above 
  2651. problems as follows.
  2652.  
  2653. o   Screen writes.  ORACLE user bios calls.  All output appears
  2654.     perfectly normal on remote terminals through the  CTTY interface
  2655.     in RBBS.
  2656.  
  2657. o   Monitor for carrier.  Run WATCHDOG, which will reboot your system
  2658.     if carrier drops.
  2659.  
  2660. o   Full screen mode.  ORACLE uses only ANSI commands to control the
  2661.     users screens.  Callers whose remote communications package
  2662.     implements  ANSI support therefore see full screen writes exactly
  2663.     the same as local users.  FULL SCREEN WORKS!
  2664.  
  2665.                        Page 145 of 149
  2666. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2667.  
  2668. o   Security.  ORACLE has all the security you could ever want because
  2669.     it was designed for multi-user systems.
  2670.  
  2671. o   Usability.  ORACLE implements SQL, which is increasingly becoming
  2672.     an industry standard that all major data base systems are supporting.
  2673.  
  2674.  
  2675. 3.  Problems Using ORACLE
  2676.  
  2677. o   There is a problem getting the function keys to work properly remotely.
  2678.  
  2679. o   The ability for a caller to use DOS commands needs to be disabled
  2680.     within ORACLE.
  2681.  
  2682. o   Callers who do not know SQL need pre-structured queries and a menu
  2683.     interface to be designed for them.   ORACLE supports a full screen
  2684.     interface but the user interface in ORACLE is not as programmable as
  2685.     one would like.
  2686.  
  2687.  
  2688. 4.  Current Progress
  2689.  
  2690. The  SQLBBS has implemented ORACLE to help manage the data  processing  for 
  2691. the  National Council for Children's Rights (NCCR), and have several  major 
  2692. data bases on-line for general interest.
  2693.  
  2694. People  can contact John Prior, the SQLBBS SYSOP, on Compuserve or MCI,  by 
  2695. mail, or call SQLBBS if they wish to see how ORACLE is implemented, get the 
  2696. latest  progress  report,  or  share  experiences  implementing  data  base 
  2697. services.
  2698.  
  2699. Here are details on the SQLBBS system and how to reach both John and it:
  2700.  
  2701. Software:           PC-DOS 3.1, RBBS-PC, Oracle V4.1.4
  2702.  
  2703. Hardware:           WIN TURBO AT, 1 MEG on motherboard, C:                  
  2704.                     30MEG, D: 20MEG, 1 MEG EEMS
  2705.                     Norton 4.0 Computing Index: 9.0 x IBM/XT
  2706.  
  2707. Modem:              2400 Baud Hayes
  2708.  
  2709. BBS Number:         301/881-6588
  2710.  
  2711. Hours:              24 hrs/day
  2712.  
  2713. Address:            Prior Computer Service Inc.
  2714.                     POB 2168
  2715.                     Rockville MD 20852-2168
  2716.  
  2717. Compuserve ID:      76266,1072
  2718.  
  2719. MCI MAIL ID:        JPRIOR
  2720.  
  2721. SYSOPS:             John F. Prior
  2722.                     Steve J. Prior
  2723.                     Tony Zelof
  2724.  
  2725. SQL Tables          Roster of the House of Representatives
  2726. Available           Roster of the Senate [both with addresses etc.]             
  2727. Now                 The States [2 char abbreviation and full name]
  2728.      
  2729.  
  2730.                        Page 146 of 149
  2731. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2732.  
  2733. Available           The 95,000 5 digit Zip Codes of the US
  2734. Shortly             Telephone Area Codes, Exchanges & Zips
  2735.  
  2736.  
  2737. Software            QMODEM 3.0 or Procomm 2.4.2 or later.                     
  2738. on your end         Just take the defaults N81, ANSI-BBS.
  2739.  
  2740.  
  2741. 5.  How to use my system as a trial
  2742.  
  2743. Call SQLBBS as you would any other RBBS-PC system.
  2744.  
  2745. Go through the Door.
  2746.  
  2747. SQLBBS  executes a "SELECT * FROM TAB;" for you which shows you the  tables 
  2748. and views you can access.
  2749.  
  2750. At the UFI> prompt execute any SELECT command you want against any table or 
  2751. view.
  2752.  
  2753. "SELECT * FROM STATES;" returns all rows [records] of the STATES table.
  2754.  
  2755. "SELECT  * FROM STATES WHERE ST = 'MA';" returns all rows about  the  state 
  2756. whose two-character code is "MA".
  2757.  
  2758. "SELECT COUNT(*) FROM STATES;" gives you a count of the rows in the  STATES 
  2759. table.
  2760.  
  2761. If  you substitute another table or view instead of STATES such as  SENATE, 
  2762. you can access other tables/views.
  2763.  
  2764. "DESC HOUSE" would return the column names of the HOUSE table.
  2765.  
  2766. "HELP" gets you help.
  2767.  
  2768. "HELP SELECT" gets you help on the SELECT command.
  2769.  
  2770. "HELP SET" gets you help on the SET command which can control many  options 
  2771. for display etc.
  2772.  
  2773. "SHOW ALL" shows you everything you can SET.
  2774.  
  2775. "EXIT" terminates UFI and returns you to BBS-PC.
  2776.  
  2777.  
  2778. 6. Implementation Cookbook
  2779.  
  2780. A. Install RBBS-PC.
  2781.  
  2782. B. Install Oracle.
  2783.  
  2784. C.  Create  tables under a userid that will grant views to the  userid  you 
  2785. will use in item D below.
  2786.  
  2787. D.  Create a batch file that will invoke Oracle and force the user  into  a 
  2788. certain userid/password that will only have SELECT access to views.
  2789.  
  2790. 7.   How to get questions answered & get the latest?
  2791.  
  2792.      Call SQLBBS and leave a message.
  2793.  
  2794.  
  2795.                        Page 147 of 149
  2796. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2797.  
  2798. 8.   Other software
  2799.  
  2800. John has purchased the following software to make life easier:
  2801.  
  2802. SQLCALC   a spreadsheet interface to Oracle for prototyping
  2803.  
  2804. FLASH     a disk caching program for performance
  2805.      
  2806. He is attempting to get special prices on these products and Oracle itself.
  2807.  
  2808. 9.   How to bring up Oracle and RBBS-PC
  2809.  
  2810.      Execute the following autoexec.bat file:
  2811.  
  2812. echo off
  2813. path C:\ORACLE\BIN;C:\SHELLS;C:\DOS;C:\UTIL;C:\GT;
  2814. rem mousesys                    > nul
  2815. prompt $p$g
  2816. rem subst e: c:\xdb
  2817. rem c:\dos\memo\memo
  2818. flash 384 /ma /z                > nul
  2819. flash /cn                       > nul
  2820. rem set gtpath=c:\gt
  2821. rem set TZ=EDT+04
  2822. command /c \shells\menu
  2823. turbokey a 1                    > nul
  2824. echo on
  2825. oracle
  2826. ior w
  2827. \RBBS\RBBS
  2828.  
  2829. Which executes the following bat file:
  2830.  
  2831. c:
  2832. cd \rbbs
  2833. IF EXIST RBBS1F1.DEF DEL RBBS1F1.DEF
  2834. IF EXIST RCTTY.BAT   DEL RCTTY.BAT
  2835. \RBBS\WATCHDOG OFF
  2836. \RBBS\RBBS-PC
  2837. \RBBS\WATCHDOG ON
  2838. IF EXIST RBBS1F1.DEF GOTO EXIT
  2839. IF EXIST RCTTY.BAT   RCTTY.BAT
  2840. cd \rbbs
  2841. \RBBS\RBBS
  2842. :EXIT
  2843.  
  2844. And when a user goes through a door the following bat file gets
  2845. executed:
  2846.  
  2847. echo off
  2848. ctty com2
  2849. cd \misc\sql
  2850. ufi sql/sql
  2851. cd \rbbs
  2852. CTTY CON
  2853. echo on
  2854. EXIT
  2855.  
  2856. 10.  Future Areas to Investigate
  2857.  
  2858. Oracle  provides a full screen interactive screen painter interface to  the 
  2859.  
  2860.                        Page 148 of 149
  2861. RBBS-PC CPC15-1B, Copyright 1987 by D. Thomas Mack         June 7, 1987     
  2862.  
  2863. DBMS that I have been able to bring up remotely, but I have been unable  to 
  2864. get  the function keys to work.  They also provide a FASTFORM utility  that 
  2865. generates  a  default  screen  for any  table.   This  would  allow  update 
  2866. capability with the proper GRANTS of privileges.
  2867.  
  2868.  
  2869. There  is  a security problem in that a knowledgeable Oracle user  can  get 
  2870. access to DOS.  It looks like the solution at the present time will require 
  2871. a change either renaming the DOS commands within DOS to random strings that 
  2872. a  caller  would not guess easily or an enhancement to Oracle  that  allows 
  2873. this  capability  to  be disabled.  Call John Prior's the  SQLBBS  for  the 
  2874. latest information on his innovative use of RBBS-PC.
  2875.  
  2876. John F. Prior
  2877.  
  2878. =========== E N D   O F   CPC15-1B   D O C U M E N T A T I O N ==========
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.                        Page 149 of 149
  2926.